From 663bc3af7cf289dd1e7c73deb55fc24b82578c28 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Fri, 15 Jan 2010 15:52:49 +0000 Subject: * html/xstyle: adjust the checkvalue function to new notation [ Bug #16669 ] * locale: update italian translation * SHARE: Update description --- skins/xstyle/javascript/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skins/xstyle/javascript') 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 { -- cgit v1.2.3