diff --git a/admin-root/config.js b/admin-root/config.js index 5957fb3d..96fbd8ed 100644 --- a/admin-root/config.js +++ b/admin-root/config.js @@ -434,12 +434,15 @@ function saveForm() { getArr.push('key='+encodeURIComponent(a[1])); getArr.push('value='+encodeURIComponent(value)); getArr.push('verify_only=1'); - var url = a[1] + '=' + value; + var output = a[0] + ':' + a[1] + '=' + value; new Ajax.Request('/xml-rpc?method=setconfig&' + getArr.join('&'), {method: 'get', - onComplete: function(req){console.log(url + ' => ' + - Element.textContent(req.responseXML.getElementsByTagName('statusstring')[0])); - } }); + onComplete: function(req){ + var errorString = Element.textContent(req.responseXML.getElementsByTagName('statusstring')[0]); + if (errorString != 'Success') { + console.log(output + ' => ' + errorString); + } + }}); } } diff --git a/admin-root/config.xml b/admin-root/config.xml index 936f890b..721f3c9b 100644 --- a/admin-root/config.xml +++ b/admin-root/config.xml @@ -202,8 +202,9 @@ +
- + Empty strings select @@ -212,7 +213,7 @@ - + Supports update select @@ -222,6 +223,7 @@
+
Plugin Directory