$(self.groups).trigger(
'selected', [selection.ids, selection.records]);
});
+
this.$element.find('.oe-list-add')
.click(this.do_add_record)
.attr('disabled', grouped && this.options.editable);
$this.append('<span class="ui-icon ui-icon-triangle-1-s">')
.siblings('.oe-sortable').find('span').remove();
}
-
+
self.reload_content();
});
self.reload_content();
})
.val(self._limit || 'NaN');
- })
-
+ });
if (!this.sidebar && this.options.sidebar && this.options.sidebar_id) {
this.sidebar = new openerp.web.Sidebar(this, this.options.sidebar_id);
this.sidebar.start();
page: this.page,
limit: this._limit
});
-
return reloaded.promise();
},
this.client_widget = null;
},
render: function() {
- return "<div id='"+this.element_id+"'></div>";
+ return "<div id='"+this.element_id+"' style='height:100%;'></div>";
},
dialog_stop: function () {
if (this.dialog) {