this.form.render(ef.dom);
// logoprefix comes from base config.
+
+ var img = typeof(appLogo) != 'undefined' ? appLogo :
+ rootURL + '/Pman/'+appNameShort + '/templates/images/logo.gif'
+
Pman.Login.form.el.createChild({
tag: 'img',
src: rootURL + '/Pman/'+appNameShort + '/templates/images/logo.gif',
if (this.disabled) {
return;
}
+
+
+
this.callback = cb; // used for non-pman usage..
modal = modal || false;
if (Pman.Login.authUserId < 0) { // logout!?
this.dialog.el.unmask();
this.resizeToLogo.defer(1000,this);
+ // if we have not created a provider.. do it now...
+ if (!Roo.state.Manager.getProvider().expires) {
+ Roo.state.Manager.setProvider(new Roo.state.CookieProvider());
+ }
+
this.form.setValues({
'username' : Roo.state.Manager.get('Pman.Login.username.'+appNameShort, ''),