Pman.Login.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 10 Jan 2012 08:08:24 +0000 (16:08 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 10 Jan 2012 08:08:24 +0000 (16:08 +0800)
Pman.Login.js

index 497080e..0afdb68 100644 (file)
@@ -404,6 +404,10 @@ Pman.Login =  new Roo.util.Observable({
           
         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',