diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-04-11 11:37:40 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-04-11 11:37:40 -0400 |
| commit | bcf8d0eaf9b04d677d4d4083167d90f2abb515f0 (patch) | |
| tree | 907b978640719fac235f3734729e5d9686b02f67 /www/js/app.js | |
| parent | cf8780925592318acfec4220569842a94fcfb2df (diff) | |
#806 support
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js index 7c03fbdd..cc941d9b 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -105,7 +105,8 @@ angular.module('zmApp', [ forceMontageReloadDelay: 4500000, // 1 hr 15m, //forceMontageReloadDelay: 10000, // testing 10s thumbWidth: 200, - alarmStatusTime: 10000, + alarmStatusTime: 10000, // 10 sec + eventCheckTime: 30000, // 30 seconds eventServerErrorDelay: 5000, // time to wait till I report initial connect errors zmVersionCheckNag: 60 * 24, // in hrs waitTimeTillResume: 5, // in sec, for ES error @@ -2316,7 +2317,8 @@ angular.module('zmApp', [ // if they occur. I suspect digest and other errors will be useful // for me to see //$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|cdvphotolibrary):/); - + $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|content|cdvphotolibrary|blob|unsafe|local):|data:image\//); + $provide.decorator("$exceptionHandler", ['$delegate', '$injector', function ($delegate, $injector) { return function (exception, cause) { @@ -2470,7 +2472,7 @@ angular.module('zmApp', [ // so it messes up scrolldelegate zoom and possibly others //$ionicConfigProvider.scrolling.jsScrolling(false); $compileProvider.debugInfoEnabled(false); - $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|cdvphotolibrary):/); + /*$ionicNativeTransitionsProvider.setDefaultOptions({ duration: 250, |
