=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/i18n/i18n_app.properties' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/i18n/i18n_app.properties 2014-12-15 14:00:36 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/i18n/i18n_app.properties 2014-12-15 15:24:52 +0000 @@ -17,6 +17,7 @@ cache_empty=Browser cache is empty. Nothing to clear. clearing_cache=Clearing cache proceed=Proceed +select_all=Select all cancel=Cancel clear=Clear === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/index.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/index.html 2014-12-15 14:00:36 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/index.html 2014-12-15 15:24:52 +0000 @@ -122,6 +122,7 @@ {{'clear'| translate}} + {{'select_all'| translate}}
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/controllers.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/controllers.js 2014-12-15 14:00:36 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/scripts/controllers.js 2014-12-15 15:24:52 +0000 @@ -65,9 +65,18 @@ }); } - }); - + }); getItemsToClear(); }); }; + + $scope.selectAll = function(){ + angular.forEach($scope.lsKeys, function(lsKey){ + lsKey.remove = true; + }); + + angular.forEach($scope.dbKeys, function(dbKey){ + dbKey.remove = true; + }); + }; }); \ No newline at end of file