[imp] added documentation

bzr revid: nicolas.vanhoren@openerp.com-20120124152708-iuid1mrw0zvmmy8x
This commit is contained in:
niv-openerp
2012-01-24 16:27:08 +01:00
parent 9156efc499
commit fb8255576c
+4 -1
View File
@@ -1113,8 +1113,11 @@ openerp.web.Widget = openerp.web.CallbackEnabled.extend(/** @lends openerp.web.W
}
});
/**
* Deprecated. Do not use any more.
*/
openerp.web.OldWidget = openerp.web.Widget.extend({
init: function(parent, /** @deprecated */ element_id) {
init: function(parent, element_id) {
this._super(parent);
this.element_id = element_id;
this.element_id = this.element_id || _.uniqueId('widget-');