summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 966c1875..2f2746ec 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -99,6 +99,8 @@ angular.module('zmApp', [
//forceMontageReloadDelay: 10000, // testing 10s
thumbWidth: 200,
alarmStatusTime: 10000, // 10 sec
+ streamQueryStatusTime: 10000, //10 sec
+ streamQueryStatusTimeLowBW: 30000, // 30 sec
eventCheckTime: 30000, // 30 seconds
eventServerErrorDelay: 5000, // time to wait till I report initial connect errors
zmVersionCheckNag: 60 * 24, // in hrs
@@ -581,6 +583,12 @@ angular.module('zmApp', [
if ($attributes.imageSpinnerLoader) {
//console.log ("DIRECTIVE: IMAGE LOADED");
loader.remove();
+
+ if ($attributes.imageonload) {
+ console.log (">>>> IMAGE LOADED CBK");
+ $scope.$apply($attributes.imageonload);
+ // fn($scope, {});
+ }
//imageLoadingDataShare.set(0);
//console.log ("rendered");