diff options
author | louise <louise> | 2009-09-28 10:43:58 +0000 |
---|---|---|
committer | louise <louise> | 2009-09-28 10:43:58 +0000 |
commit | 9e63c43de8bd8a6b614e89031c61e42247f6f94f (patch) | |
tree | c5b711bbb54e605a8cf3ec749fc349c0a1c2fb18 /web/js.js | |
parent | 3bf0bda67954f15c650108b9c057adcf48b11bdd (diff) |
Passing through extra param - fix to AJAX and adding to problem form
Diffstat (limited to 'web/js.js')
-rw-r--r-- | web/js.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |