cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [1/3] UI code cleanup: Fix trailing commas in JS
Date Tue, 24 Sep 2013 18:17:02 GMT
Updated Branches:
  refs/heads/master daec10e37 -> 34c04a454


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/34c04a45/ui/scripts/templates.js
----------------------------------------------------------------------
diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index dc1a39b..ccb83c2 100644
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -1316,7 +1316,7 @@
                                     //***** updateIsoPermissions *****
                                     var data = {
                                         id: args.context.isos[0].id,
-                                        zoneid: args.context.isos[0].zoneid,
+                                        zoneid: args.context.isos[0].zoneid
                                     };
                                     //if args.data.ispublic is undefined, do not pass ispublic
to API call.
                                     if (args.data.ispublic == "on") {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/34c04a45/ui/scripts/vm_snapshots.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vm_snapshots.js b/ui/scripts/vm_snapshots.js
index cb78056..98d7e37 100644
--- a/ui/scripts/vm_snapshots.js
+++ b/ui/scripts/vm_snapshots.js
@@ -81,13 +81,13 @@
                                 label: 'label.name'
                             },
                             displayname: {
-                                label: 'label.display.name',
+                                label: 'label.display.name'
                             },
                             type: {
-                                label: 'label.vmsnapshot.type',
+                                label: 'label.vmsnapshot.type'
                             },
                             description: {
-                                label: 'label.description',
+                                label: 'label.description'
                             },
                             state: {
                                 label: 'label.state',
@@ -106,8 +106,7 @@
                             created: {
                                 label: 'label.date',
                                 converter: cloudStack.converters.toLocalDate
-                            },
-
+                            }
                         },
                         dataProvider: function(args) {
                             $.ajax({


Mime
View raw message