mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-07 07:53:19 +00:00
(js) Restore user's last Calendar view
Also reviewed the handling of Angular modules dependencies.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user