1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 08:29:01 +01:00

Streamlined MainController

This commit is contained in:
Giulio Cesare Solaroli 2015-09-23 17:47:55 +02:00
parent e5a6dfebe3
commit e32f30f3ba

View File

@ -441,7 +441,6 @@ Clipperz.log("THE BROWSER IS OFFLINE");
deferredResult.addMethod(this, 'refreshUI');
deferredResult.addMethod(unlockPage, 'setProps', {'disabled': false});
deferredResult.addMethod(unlockPage, 'resetUnlockForm');
// deferredResult.addMethod(this, 'resetLockTimeout');
deferredResult.addCallback(MochiKit.Signal.signal, Clipperz.Signal.NotificationCenter, 'enableLock');
deferredResult.addMethod(overlay, 'done', "", 0.5);
@ -1218,10 +1217,8 @@ Clipperz.log("THE BROWSER IS OFFLINE");
};
}
if (extraProperties != null) {
result = MochiKit.Base.update(result, extraProperties);
}
//console.log("MainController.pageProperties", result);
result = MochiKit.Base.update(result, extraProperties);
return result;
},