WEBUI: Fix the LovCombo regex handling - fixes #2598
This commit is contained in:
parent
e565e7cbf0
commit
b28f37bf8a
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ Ext.ux.form.LovCombo = Ext.extend(Ext.form.ComboBox, {
|
|||
* @private
|
||||
*/
|
||||
,onBeforeQuery:function(qe) {
|
||||
qe.query = qe.query.replace(new RegExp(this.getCheckedDisplay() + '[ ' + this.separator + ']*'), '');
|
||||
var d = tvheadend.regexEscape(this.getCheckedDisplay());
|
||||
qe.query = qe.query.replace(new RegExp(d + '[ ' + this.separator + ']*'), '');
|
||||
} // eo function onBeforeQuery
|
||||
// }}}
|
||||
// {{{
|
||||
|
|
Loading…
Add table
Reference in a new issue