diff options
author | Andrew Dolgov <[email protected]> | 2005-11-24 08:05:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-24 08:05:20 +0100 |
commit | d9dde1d67aab87b461328b731b7b0e772f040565 (patch) | |
tree | cbee19eebc3671dbb2038d28f7bc2be9dca4a540 /prefs.js | |
parent | cce28758b293bffa184f0617083691285a197032 (diff) |
test button for label editor
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -706,6 +706,19 @@ function feedEditSave() { } +function labelTest() { + + var sqlexp = document.getElementById("iedit_expr").value; + var descr = document.getElementById("iedit_descr").value; + + xmlhttp.open("GET", "backend.php?op=pref-labels&subop=test&expr=" + + param_escape(sqlexp) + "&descr=" + param_escape(descr), true); + + xmlhttp.onreadystatechange=infobox_callback; + xmlhttp.send(null); + +} + function labelEditCancel() { if (!xmlhttp_ready(xmlhttp)) { |