diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-02-05 09:51:38 -0500 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-02-05 09:51:38 -0500 |
| commit | 2dca00fc8be172f6bed7bbd8cc9b46093f978bea (patch) | |
| tree | 11625bcb6938466e44ff687ee7885c3a6e15157d /www/js/ModalCtrl.js | |
| parent | 6c8009536b71a493ca1416472498fe33f6b4d6a7 (diff) | |
#126 and #155 - I think I finally got it this time
Former-commit-id: 85587badc26f74e31a1a458ca3bdb3fff016968f
Diffstat (limited to 'www/js/ModalCtrl.js')
| -rw-r--r-- | www/js/ModalCtrl.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js index e6d9bbab..166142f1 100644 --- a/www/js/ModalCtrl.js +++ b/www/js/ModalCtrl.js @@ -988,12 +988,22 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco console.log("**VIEW ** ModalCtrl left"); - ZMDataModel.zmLog ("ModalCtrl:Stopping network pull..."); + //ZMDataModel.zmLog ("ModalCtrl:Nullifying images...""); // make sure this is applied in scope digest to stop network pull // thats why we are doing it beforeLeave - window.stop(); + //window.stop(); + ZMDataModel.zmLog ("Nullifying the streams..."); + + var element = document.getElementById("singlemonitor"); + if (element) + { + ZMDataModel.zmDebug("Nullifying " + element.src); + element.src=""; + } + + }); |
