From 67fbbc59b68db1385cf53696ab619c070b36f467 Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Tue, 2 Jun 2015 14:40:59 +0200 Subject: [PATCH] logging --- js/settings/UpdatePanel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/settings/UpdatePanel.js b/js/settings/UpdatePanel.js index a82b02e..e02df61 100644 --- a/js/settings/UpdatePanel.js +++ b/js/settings/UpdatePanel.js @@ -7,6 +7,7 @@ */ function UpdatePanel() { + var className = 'UpdatePanel'; var _form = new FormPanel(); this.wifiboxURL; @@ -137,9 +138,10 @@ function UpdatePanel() { this.checkStatus = function(keepChecking) { if (limitedFeatures) { + console.log(className,'ignoring checkStatus due to limitedFeatures mode'); return; //don't check printer status when in limitedFeatures mode } - + if (!communicateWithWifibox) return; $.ajax({ url: self.wifiboxURL + "/update/status",