[FIX] MSIE9 issue where complete.previous would be '' instead of undefined
bzr revid: xmo@openerp.com-20130605105227-6e5a6ckxshk8uwkg
This commit is contained in:
parent
be8c76485b
commit
bdcb553128
|
@ -548,7 +548,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
|
|||
var val = this.$el.val();
|
||||
this.$el.val('');
|
||||
var complete = this.$el.data('autocomplete');
|
||||
if ((val && complete.term === undefined) || complete.previous !== undefined) {
|
||||
if ((val && complete.term === undefined) || complete.previous) {
|
||||
throw new Error("new jquery.ui version altering implementation" +
|
||||
" details relied on");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue