From 2acf9830f15d4b2a1654d2abe419232dfce88a42 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 4 Jan 2016 11:51:59 -0500 Subject: [PATCH] (js) Move ngSanitize dependency to SOGo.Common --- UI/WebServerResources/js/Administration/Administration.app.js | 2 +- UI/WebServerResources/js/Common/Common.app.js | 2 +- UI/WebServerResources/js/Contacts/Contacts.app.js | 2 +- UI/WebServerResources/js/Mailer/Mailer.app.js | 2 +- UI/WebServerResources/js/Mailer/Mailer.popup.js | 2 +- UI/WebServerResources/js/Preferences/Preferences.app.js | 2 +- UI/WebServerResources/js/Scheduler/Scheduler.app.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/UI/WebServerResources/js/Administration/Administration.app.js b/UI/WebServerResources/js/Administration/Administration.app.js index 4837fe34d..fd5bec2da 100644 --- a/UI/WebServerResources/js/Administration/Administration.app.js +++ b/UI/WebServerResources/js/Administration/Administration.app.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.AdministrationUI', ['ngSanitize', 'ui.router', 'SOGo.Common', 'SOGo.Authentication', 'SOGo.PreferencesUI', 'SOGo.ContactsUI', 'SOGo.SchedulerUI']) + angular.module('SOGo.AdministrationUI', ['ui.router', 'SOGo.Common', 'SOGo.Authentication', 'SOGo.PreferencesUI', 'SOGo.ContactsUI', 'SOGo.SchedulerUI']) .config(configure) .run(runBlock); diff --git a/UI/WebServerResources/js/Common/Common.app.js b/UI/WebServerResources/js/Common/Common.app.js index e429ec35f..9ce0d1bd0 100644 --- a/UI/WebServerResources/js/Common/Common.app.js +++ b/UI/WebServerResources/js/Common/Common.app.js @@ -3,7 +3,7 @@ (function() { 'use strict'; - angular.module('SOGo.Common', ['ngAnimate', 'ngMaterial', 'mdColors']) + angular.module('SOGo.Common', ['ngAnimate', 'ngSanitize', 'ngMaterial', 'mdColors']) .value('sgSettings', { isPopup: document.body.classList.contains('popup'), baseURL: function() { diff --git a/UI/WebServerResources/js/Contacts/Contacts.app.js b/UI/WebServerResources/js/Contacts/Contacts.app.js index 227cd13bd..95f6cdb47 100644 --- a/UI/WebServerResources/js/Contacts/Contacts.app.js +++ b/UI/WebServerResources/js/Contacts/Contacts.app.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.ContactsUI', ['ngSanitize', 'ui.router', 'angularFileUpload', 'ck', 'SOGo.Common', 'SOGo.PreferencesUI', 'SOGo.MailerUI']) + angular.module('SOGo.ContactsUI', ['ui.router', 'angularFileUpload', 'ck', 'SOGo.Common', 'SOGo.PreferencesUI', 'SOGo.MailerUI']) .config(configure) .run(runBlock); diff --git a/UI/WebServerResources/js/Mailer/Mailer.app.js b/UI/WebServerResources/js/Mailer/Mailer.app.js index c35ce34ac..15ecae4d1 100644 --- a/UI/WebServerResources/js/Mailer/Mailer.app.js +++ b/UI/WebServerResources/js/Mailer/Mailer.app.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.MailerUI', ['ngSanitize', 'ui.router', 'ck', 'angularFileUpload', 'SOGo.Common', 'SOGo.ContactsUI', 'ngAnimate', 'SOGo.PreferencesUI']) + angular.module('SOGo.MailerUI', ['ui.router', 'ck', 'angularFileUpload', 'SOGo.Common', 'SOGo.ContactsUI', 'ngAnimate', 'SOGo.PreferencesUI']) .config(configure) .run(runBlock); diff --git a/UI/WebServerResources/js/Mailer/Mailer.popup.js b/UI/WebServerResources/js/Mailer/Mailer.popup.js index 1d469c781..4b9290414 100644 --- a/UI/WebServerResources/js/Mailer/Mailer.popup.js +++ b/UI/WebServerResources/js/Mailer/Mailer.popup.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.MailerUI', ['ngSanitize', 'ui.router', 'ck', 'angularFileUpload', 'SOGo.Common', 'SOGo.ContactsUI', 'ngAnimate', 'SOGo.PreferencesUI']) + angular.module('SOGo.MailerUI', ['ui.router', 'ck', 'angularFileUpload', 'SOGo.Common', 'SOGo.ContactsUI', 'ngAnimate', 'SOGo.PreferencesUI']) .config(configure) .run(runBlock) .controller('MessageEditorControllerPopup', MessageEditorControllerPopup); diff --git a/UI/WebServerResources/js/Preferences/Preferences.app.js b/UI/WebServerResources/js/Preferences/Preferences.app.js index 904675e5c..e3c6bd9c3 100644 --- a/UI/WebServerResources/js/Preferences/Preferences.app.js +++ b/UI/WebServerResources/js/Preferences/Preferences.app.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.PreferencesUI', ['ngSanitize', 'ui.router', 'ck', 'SOGo.Common', 'SOGo.MailerUI', 'SOGo.ContactsUI', 'SOGo.Authentication']) + angular.module('SOGo.PreferencesUI', ['ui.router', 'ck', 'SOGo.Common', 'SOGo.MailerUI', 'SOGo.ContactsUI', 'SOGo.Authentication']) .config(configure) .run(runBlock); diff --git a/UI/WebServerResources/js/Scheduler/Scheduler.app.js b/UI/WebServerResources/js/Scheduler/Scheduler.app.js index 6ccbd307b..69c4affab 100644 --- a/UI/WebServerResources/js/Scheduler/Scheduler.app.js +++ b/UI/WebServerResources/js/Scheduler/Scheduler.app.js @@ -4,7 +4,7 @@ (function() { 'use strict'; - angular.module('SOGo.SchedulerUI', ['ngSanitize', 'ui.router', 'angularFileUpload', 'SOGo.Common', 'SOGo.PreferencesUI', 'SOGo.ContactsUI', 'SOGo.MailerUI']) + angular.module('SOGo.SchedulerUI', ['ui.router', 'angularFileUpload', 'SOGo.Common', 'SOGo.PreferencesUI', 'SOGo.ContactsUI', 'SOGo.MailerUI']) .config(configure) .run(runBlock);