mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] restore return super's result in start function
This commit is contained in:
@@ -20,7 +20,7 @@ openerp.web_widget_radio_tree = function (instance) {
|
||||
instance.web.form.RadioTree = instance.web.form.FieldBoolean.extend({
|
||||
template: 'RadioTree',
|
||||
start: function() {
|
||||
this._super.apply(this, arguments);
|
||||
var _super = this._super.apply(this, arguments);
|
||||
this.$checkbox = $('input', this.$el);
|
||||
var radio_name = this.getParent().model + '_' + this.$checkbox[0].name;
|
||||
this.$checkbox.attr('name', radio_name);
|
||||
@@ -30,6 +30,7 @@ openerp.web_widget_radio_tree = function (instance) {
|
||||
self.clean_radio_in_records();
|
||||
this.internal_set_value(true);
|
||||
}, this));
|
||||
return _super;
|
||||
},
|
||||
click_disabled_boolean: function(){
|
||||
var $disabled = this.$el.find('input[type=radio]:disabled');
|
||||
|
||||
Reference in New Issue
Block a user