summaryrefslogtreecommitdiff
path: root/skins/xstyle/javascript
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2010-01-15 15:52:49 +0000
committerAndreas Brachold <vdr07@deltab.de>2010-01-15 15:52:49 +0000
commit663bc3af7cf289dd1e7c73deb55fc24b82578c28 (patch)
treefda49ababcfe227058d3654601be07f0c06ed0a7 /skins/xstyle/javascript
parent128884d2516a0d5ad6aa93143d1b818506cd8bfb (diff)
downloadxxv-663bc3af7cf289dd1e7c73deb55fc24b82578c28.tar.gz
xxv-663bc3af7cf289dd1e7c73deb55fc24b82578c28.tar.bz2
* html/xstyle: adjust the checkvalue function to new notation [ Bug #16669 ]
* locale: update italian translation * SHARE: Update description
Diffstat (limited to 'skins/xstyle/javascript')
-rw-r--r--skins/xstyle/javascript/global.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/xstyle/javascript/global.js b/skins/xstyle/javascript/global.js
index 2e8bd8e..7bf2dd4 100644
--- a/skins/xstyle/javascript/global.js
+++ b/skins/xstyle/javascript/global.js
@@ -150,7 +150,7 @@ function checkValue (valobj, msgname, cmd, wrongMsg, goodMsg) {
var o = eval("("+oXML.responseText+")");
if(o && o.data && typeof(o.data) == 'string'
- && o.param && o.param.state && o.param.state == 'success') {
+ && o.success && o.success == true) {
msg.className = 'good';
msg.innerHTML = goodMsg.replace('%s', o.data);
} else {