[IMP] remove a few object trailing commas
authorXavier Morel <xmo@openerp.com>
Fri, 28 Oct 2011 08:52:12 +0000 (10:52 +0200)
committerXavier Morel <xmo@openerp.com>
Fri, 28 Oct 2011 08:52:12 +0000 (10:52 +0200)
bzr revid: xmo@openerp.com-20111028085212-vjpb1oejd8cv24mt

addons/web/static/src/js/chrome.js
addons/web/static/src/js/views.js

index 484c58e..22c2b0b 100644 (file)
@@ -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
         });
-    },
+    }
 
 });
 
index d243fa5..4e8f6d3 100644 (file)
@@ -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;