summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 2a053f7..b5a150d 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -610,7 +610,10 @@ events.push(function() {
data: wd.parms,
success: function(data){
- wd.callback(data);
+ if (data.length > 0) {
+ wd.callback(data);
+ }
+
ajaxmutex = false;
},
OpenPOWER on IntegriCloud