aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authorlouise <louise>2009-09-28 10:43:58 +0000
committerlouise <louise>2009-09-28 10:43:58 +0000
commit9e63c43de8bd8a6b614e89031c61e42247f6f94f (patch)
treec5b711bbb54e605a8cf3ec749fc349c0a1c2fb18 /web/js.js
parent3bf0bda67954f15c650108b9c057adcf48b11bdd (diff)
Passing through extra param - fix to AJAX and adding to problem form
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/js.js b/web/js.js
index f0f5a2194..6f97732e0 100644
--- a/web/js.js
+++ b/web/js.js
@@ -313,8 +313,7 @@ function load_pins(x, y) {
'all_pins=' + document.getElementById('all_pins').value ];
if (document.getElementById('extra_param')) {
- ajax_params.push('extra_param_name=' + document.getElementById('extra_param').name);
- ajax_params.push('extra_param_value=' + document.getElementById('extra_param').value);
+ ajax_params.push(document.getElementById('extra_param').name + '=' + document.getElementById('extra_param').value);
}
var separator;