(js) Restore user's last Calendar view

Also reviewed the handling of Angular modules dependencies.
This commit is contained in:
Francis Lachapelle committed 2015-07-29 11:47:01 -04:00
1 parent 762f305914
commit 7e10cff395
16 files changed
+101 -65

No files matched your search

@@ -63,6 +63,12 @@
* @module SOGo.SchedulerUI
* @desc Factory registration of Component in Angular module.
*/
try {
angular.module('SOGo.SchedulerUI');
}
catch(e) {
angular.module('SOGo.SchedulerUI', ['SOGo.Common']);
}
angular.module('SOGo.SchedulerUI')
.factory('Component', Component.$factory);