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:
5e91c00
)
[IMP] Add doc to Menu#reflow()
author
Fabien Meghazi
<fme@openerp.com>
Thu, 13 Dec 2012 13:01:18 +0000
(14:01 +0100)
committer
Fabien Meghazi
<fme@openerp.com>
Thu, 13 Dec 2012 13:01:18 +0000
(14:01 +0100)
bzr revid: fme@openerp.com-
20121213130118
-mg3nrl7twqa24plc
addons/web/static/src/js/chrome.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/chrome.js
b/addons/web/static/src/js/chrome.js
index
2510d13
..
7c94268
100644
(file)
--- a/
addons/web/static/src/js/chrome.js
+++ b/
addons/web/static/src/js/chrome.js
@@
-867,6
+867,10
@@
instance.web.Menu = instance.web.Widget.extend({
}
});
},
+ /**
+ * Reflow the menu items and dock overflowing items into a "More" menu item.
+ * Automatically called when 'menu_loaded' event is triggered and on window resizing.
+ */
reflow: function() {
var self = this;
this.$el.show();