summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-10-28 08:23:30 -0700
committerPliable Pixels <pliablepixels@gmail.com>2016-10-28 08:23:30 -0700
commitba1b224dbc8553a25f9307125ff2f0004602d609 (patch)
treee35abd1a1fafbde4af923d990c95e529a4106e2c /www/js/DataModel.js
parent86ffc8d962c3e4b677a555f215c3dac5e2eabef4 (diff)
#353 - show abbreviated timezones to avoid confusion when switching, broadcast tz change if APIs update late
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 59fca7b4..8671ab53 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -1520,6 +1520,7 @@ angular.module('zmApp.controllers')
d.resolve(tz);
debug ("Timezone API response is:"+success.data.tz);
isTzSupported = true;
+ $rootScope.$emit('tz-updated');
return (d.promise);
},