summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-10-18 14:41:18 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-10-18 14:41:18 +0000
commitbf9f1a7bebd032e532e1c04f48c7032be51228e0 (patch)
tree5b64ec14cbe6c6d8463c4bca3d98f79fcacd4687
parentb50ad43dc993013b4a8205081ed983dc96107523 (diff)
Removing producers with an apostrophe from releases now works again...
git-svn-id: svn://vndb.org/vndb@113 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
-rw-r--r--lib/ChangeLog1
-rw-r--r--static/files/dyna.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 1d07aed8..9e9d3082 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -11,6 +11,7 @@ TODO:
- Removed redirects for old revision URLs (the code wasn't very secure...)
- Fixed bug when using unicode in the AJAX vn/producers/release search box
- Added original title field to VN entries
+ - Fixed incorrect quoting in producer select form
1.22 - 2008-08-29 (r106)
- Inverted vote graph
diff --git a/static/files/dyna.js b/static/files/dyna.js
index d6e27331..fd0411d2 100644
--- a/static/files/dyna.js
+++ b/static/files/dyna.js
@@ -186,7 +186,7 @@ function pdChangeSel() {
pdDoSearch('');
} else {
o.innerHTML = 'Selected "' + sel.text + '"<br />'
- + '<button type="button" onclick="pdAddRem(\'' + sel.value + '\')">remove</button>';
+ + '<button type="button" onclick="pdAddRem(\'' + qq(sel.value) + '\')">remove</button>';
}
}