[IMP] Add doc to Menu#reflow()

bzr revid: fme@openerp.com-20121213130118-mg3nrl7twqa24plc
This commit is contained in:
Fabien Meghazi 2012-12-13 14:01:18 +01:00
parent 5e91c00683
commit e38a9501a4
1 changed files with 4 additions and 0 deletions

View File

@ -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();