summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-10-28 10:52:12 +0200
committerXavier Morel <xmo@openerp.com>2011-10-28 10:52:12 +0200
commit4df4d335e60f0d2e8d71e07f8dd17addc63bac9b (patch)
tree884043713c496f82c80fe4c84ebbcd4564dba0d3 /addons
parent125ce4ec850062c2df619ac789067e3bd666facd (diff)
[IMP] remove a few object trailing commas
bzr revid: xmo@openerp.com-20111028085212-vjpb1oejd8cv24mt
Diffstat (limited to 'addons')
-rw-r--r--addons/web/static/src/js/chrome.js6
-rw-r--r--addons/web/static/src/js/views.js10
2 files changed, 8 insertions, 8 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 484c58ef2c4..22c2b0ba2ea 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -29,11 +29,11 @@ openerp.web.Notification = openerp.web.Widget.extend(/** @lends openerp.web.Not
warn: function(title, text) {
this.$element.notify('create', 'oe_notification_alert', {
title: title,
- text: text,
+ text: text
}, {
- expires: false,
+ expires: false
});
- },
+ }
});
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js
index d243fa55230..4e8f6d30022 100644
--- a/addons/web/static/src/js/views.js
+++ b/addons/web/static/src/js/views.js
@@ -569,7 +569,7 @@ session.web.Sidebar = session.web.Widget.extend({
{
label: _t("Manage Views"),
callback: this.call_default_on_sidebar,
- title: _t("Manage views of the current object"),
+ title: _t("Manage views of the current object")
}, {
label: _t("Edit Workflow"),
callback: this.call_default_on_sidebar,
@@ -578,7 +578,7 @@ session.web.Sidebar = session.web.Widget.extend({
}, {
label: _t("Customize Object"),
callback: this.call_default_on_sidebar,
- title: _t("Manage views of the current object"),
+ title: _t("Manage views of the current object")
}
]);
@@ -586,10 +586,10 @@ session.web.Sidebar = session.web.Widget.extend({
this.add_items('other', [
{
label: _t("Import"),
- callback: this.call_default_on_sidebar,
+ callback: this.call_default_on_sidebar
}, {
label: _t("Export"),
- callback: this.call_default_on_sidebar,
+ callback: this.call_default_on_sidebar
}, {
label: _t("Translate"),
callback: this.call_default_on_sidebar,
@@ -629,7 +629,7 @@ session.web.Sidebar = session.web.Widget.extend({
var $section = $(session.web.qweb.render("Sidebar.section", {
section_id: section_id,
name: name,
- classname: 'oe_sidebar_' + code,
+ classname: 'oe_sidebar_' + code
}));
$section.appendTo(this.$element.find('div.sidebar-actions'));
this.sections[code] = $section;