Ignore:
Timestamp:
04/27/2009 01:01:20 PM (16 years ago)
Author:
Damien Churchill <damoc@gmail.com>
Branches:
2.0.x, develop, extjs4-port, master
Children:
204f055
Parents:
c4cdd7
Message:

add basic session support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/ui/web/js/Deluge.UI.js

    rc4cdd7 re837493  
    5050                });
    5151               
    52                 Deluge.Login.show();
    53                
    5452                Deluge.Events.on("connect", this.onConnect, this);
    5553                Deluge.Events.on("disconnect", this.onDisconnect, this);
    56                 Deluge.Client = new Ext.ux.util.RpcClient({url: '/json'});
     54                Deluge.Client = new Ext.ux.util.RpcClient({
     55                        url: '/json'
     56                });
     57                Deluge.Client.on('connected', function(e) {
     58                        Deluge.Login.show();
     59                });
    5760                this.update = this.update.bind(this);
    5861        },
Note: See TracChangeset for help on using the changeset viewer.