summaryrefslogtreecommitdiff
path: root/addons/base/static/src/js/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/base/static/src/js/search.js')
-rw-r--r--addons/base/static/src/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/base/static/src/js/search.js b/addons/base/static/src/js/search.js
index ef10992d75f..21d1408f087 100644
--- a/addons/base/static/src/js/search.js
+++ b/addons/base/static/src/js/search.js
@@ -215,7 +215,7 @@ openerp.base.SearchView = openerp.base.Controller.extend({
* @param {Array} errors a never-empty array of error objects
*/
on_invalid: function (errors) {
- this.notification['default']("Invalid Search", "triggered from search view");
+ this.notification.notify("Invalid Search", "triggered from search view");
},
do_clear: function (e) {
if (e && e.preventDefault) { e.preventDefault(); }