summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-07-13 13:57:34 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-07-13 13:57:34 -0400
commit102cddc04792f0f1a097d46f71ee914c0e8bd545 (patch)
tree3cd1491ec1215e6374cf764ed561de0a54d132f4 /www/js/DataModel.js
parent2a23d885952f1bfeddba18af2d6daf7065280417 (diff)
if you switch to background mode during creating a new login setup it recovers this data
Former-commit-id: fbdc6a632284dbb4012e3d612e43d989708473ae
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index bc0b5a9a..bd699971 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -201,6 +201,10 @@ angular.module('zmApp.controllers')
// used by various controllers to log messages to file
//-------------------------------------------------------------
+ isEmpty: function (obj)
+ {
+ return isEmpty(obj);
+ },
zmLog: function (val, type) {
var logtype = 'info';