SICKofitALL misanthrope |
Code :
- Ext.Msg.progress (ptr.appName, "Démarrage", "0%" );
- Ext.Msg.updateProgress (0.33, "33%", "Gestion utilisateurs..." );
- Ext.Ajax.request ({
- url: TOOLS.compute ('getsession'),
- success: function (resp)
- {
- var user = Ext.decode (resp.responseText);
- USER.isAdmin = user.isAdmin;
- USER.name = user.ldapUSER.cn[0];
- USER.email = (user.ldapUSER.mail ? user.ldapUSER.mail[0] : user.ldapUSER.userprincipalname[0]);
- USER.batiment = user.batiment;
- Ext.Msg.updateProgress (0.50, "50%", "Initialisations..." );
- UI.renderUI ();
- USER.updateUserInfo ();
- Ext.Msg.updateProgress (0.90, "90%", "Préparation..." );
- UI.appReady ();
- Ext.Msg.updateProgress (1, "100%", "Prêt..." );
- return true;
- }
- });
|
---------------
We deserve everything that's coming...
|