From 3adb67a7032d14adc19e81a8cefab6baa0e1c328 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 13 Oct 2016 11:18:47 -0400 Subject: reload event page on language change Former-commit-id: b9e49939cf3178fa4f5938efc336236a49abf724 --- www/js/EventCtrl.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 3aa4b6a2..59853c98 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -66,6 +66,11 @@ angular.module('zmApp.controllers') // initial code //--------------------------------------------------- + + $rootScope.$on("language-changed", function () { + NVRDataModel.log(">>>>>>>>>>>>>>> language changed"); + doRefresh(); + }); $scope.$on('$ionicView.afterEnter', function () { //console.log ("********* AFTER ENTER"); -- cgit v1.2.3