projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64dc32e
)
Escape flag name since it may contain backslashes.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 20 Oct 2009 21:08:27 +0000
(15:08 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 21 Oct 2009 04:30:04 +0000
(22:30 -0600)
imp/js/search.js
patch
|
blob
|
history
diff --git
a/imp/js/search.js
b/imp/js/search.js
index
fe2fd8f
..
4e07455
100644
(file)
--- a/
imp/js/search.js
+++ b/
imp/js/search.js
@@
-166,7
+166,7
@@
var ImpSearch = {
getLabel: function(id)
{
- return $('search_criteria').down('[value=
' + id + '
]').getText() + ': ';
+ return $('search_criteria').down('[value=
"' + RegExp.escape(id) + '"
]').getText() + ': ';
},
deleteCriteria: function(tr)