dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37877
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19340: browser-cache-cleaner: upgrade to latest translate plugin
------------------------------------------------------------
revno: 19340
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-06-10 13:57:37 +0200
message:
browser-cache-cleaner: upgrade to latest translate plugin
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/app.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/app.js 2015-01-28 19:03:29 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/app.js 2015-06-10 11:57:37 +0000
@@ -3,22 +3,24 @@
/* App Module */
var cacheCleaner = angular.module('cacheCleaner',
- ['ui.bootstrap',
- 'ngRoute',
- 'ngCookies',
- 'cacheCleanerDirectives',
- 'cacheCleanerControllers',
- 'cacheCleanerServices',
- 'cacheCleanerFilters',
- 'd2Services',
- 'd2Controllers',
- 'angularLocalStorage',
- 'pascalprecht.translate',
- 'd2HeaderBar'])
+ ['ui.bootstrap',
+ 'ngRoute',
+ 'ngCookies',
+ 'ngSanitize',
+ 'cacheCleanerDirectives',
+ 'cacheCleanerControllers',
+ 'cacheCleanerServices',
+ 'cacheCleanerFilters',
+ 'd2Services',
+ 'd2Controllers',
+ 'angularLocalStorage',
+ 'pascalprecht.translate',
+ 'd2HeaderBar'])
.value('DHIS2URL', '..')
.config(function($translateProvider) {
$translateProvider.preferredLanguage('en');
+ $translateProvider.useSanitizeValueStrategy('escaped');
$translateProvider.useLoader('i18nLoader');
});
\ No newline at end of file