summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_list_editable.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-07-25 12:33:01 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-07-25 12:33:01 +0200
commitc767a0d34c3bb451246e2d546f6c602aae50d245 (patch)
tree28188c803a98451eebf7b6d1af437aa186e065ec /addons/web/static/src/js/view_list_editable.js
parent42e493e73efd603002feb92703a82f34c6bc6aea (diff)
Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
Diffstat (limited to 'addons/web/static/src/js/view_list_editable.js')
-rw-r--r--addons/web/static/src/js/view_list_editable.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js
index 1a06720a274..2634cec350f 100644
--- a/addons/web/static/src/js/view_list_editable.js
+++ b/addons/web/static/src/js/view_list_editable.js
@@ -202,7 +202,7 @@ openerp.web.list_editable = function (instance) {
make_empty_record: function (id) {
var attrs = {id: id};
_(this.columns).chain()
- .filter(function (x) { return x.tag === 'field'})
+ .filter(function (x) { return x.tag === 'field';})
.pluck('name')
.each(function (field) { attrs[field] = false; });
return new instance.web.list.Record(attrs);
@@ -260,7 +260,7 @@ openerp.web.list_editable = function (instance) {
get_cells_for: function ($row) {
var cells = {};
$row.children('td').each(function (index, el) {
- cells[el.getAttribute('data-field')] = el
+ cells[el.getAttribute('data-field')] = el;
});
return cells;
},
@@ -346,7 +346,7 @@ openerp.web.list_editable = function (instance) {
var record = self.records.get(attrs.id);
if (!record) {
// Record removed by third party during edition
- return
+ return;
}
return self.reload_record(record);
}
@@ -691,7 +691,7 @@ openerp.web.list_editable = function (instance) {
var arch = edition_view.arch;
if (!(arch && arch.children instanceof Array)) {
throw new Error("Editor delegate's #edition_view must have a" +
- " non-empty arch")
+ " non-empty arch");
}
if (arch.tag !== "form") {
throw new Error("Editor delegate's #edition_view must have a" +