summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-10-15 12:21:35 +0200
committerThibault Delavallée <tde@openerp.com>2012-10-15 12:21:35 +0200
commitfaf49e3fcbdac0091ee141b7bbe080738f92666d (patch)
tree371d29032106466d89bf0b45097789467d5cff4a /addons/web/static/src
parentfca9f19f76b5c24e5388d6d1d84fd47a09e94233 (diff)
[FIX] Action counter: renamed filter automatically added when clicking on the counter, from needaction_pending to message_unread.
bzr revid: tde@openerp.com-20121015102135-hnnd57fi187m0j0a
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/chrome.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index c993f3e3ad1..9fe1940d85f 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -1116,7 +1116,7 @@ instance.web.WebClient = instance.web.Client.extend({
.pipe(function (result) {
var action = result;
if (options.needaction) {
- action.context.search_default_needaction_pending = true;
+ action.context.search_default_message_unread = true;
}
return $.when(self.action_manager.do_action(action, null, true)).fail(function() {
self.menu.open_menu(options.previous_menu_id);