summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
author= <=>2019-03-04 11:46:09 -0500
committer= <=>2019-03-04 11:46:09 -0500
commit827f65abaaadf8a62518ba629f2e056de85c149a (patch)
tree1da914541328af494d919b6eb6ca6195b3336e30 /www
parent23157ed0e41657b73b8ab7c87a20d19f828968b7 (diff)
#786 fix POST bug on mobile
Diffstat (limited to 'www')
-rwxr-xr-xwww/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 9e9b61ad..580cfdaa 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -2324,7 +2324,7 @@ angular.module('zmApp', [
var d = $q.defer();
var options = {
method: method,
- data: arguments[0].data,
+ data: arguments[0].data || {},
headers: arguments[0].headers,
// timeout: arguments[0].timeout,
responseType: arguments[0].responseType