projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be8c764
)
[FIX] MSIE9 issue where complete.previous would be '' instead of undefined
author
Xavier Morel
<xmo@openerp.com>
Wed, 5 Jun 2013 10:52:27 +0000
(12:52 +0200)
committer
Xavier Morel
<xmo@openerp.com>
Wed, 5 Jun 2013 10:52:27 +0000
(12:52 +0200)
bzr revid: xmo@openerp.com-
20130605105227
-6e5a6ckxshk8uwkg
addons/web/static/src/js/search.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/search.js
b/addons/web/static/src/js/search.js
index
f0d211f
..
9a111cf
100644
(file)
--- a/
addons/web/static/src/js/search.js
+++ b/
addons/web/static/src/js/search.js
@@
-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");
}