partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 8f14622d6371634f7d0537f3a156f876ae96c9ff
parent 87801c7fea1899ce17924be8e15a59dc93bbf06a
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu, 30 Jun 2011 16:45:51 +0200

Fixed non-working auto login

Diffstat:
Mfrontend/js/PartKeepr.js | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/frontend/js/PartKeepr.js b/frontend/js/PartKeepr.js @@ -16,16 +16,17 @@ Ext.application({ PartKeepr.application = this; - var o = new PartKeepr.LoginDialog(); - o.show(); - - + // Set static data of the server PartKeepr.setMaxUploadSize(window.maxUploadSize); PartKeepr.setAvailableImageFormats(window.availableImageFormats); + // If auto login is wanted (for e.g. demo systems), put it in here if (window.autoLoginUsername) { PartKeepr.setAutoLogin(window.autoLoginUsername,window.autoLoginPassword); } + + new PartKeepr.LoginDialog().show(); + Ext.QuickTips.init(); }, login: function () {