Commit 184a99a0 authored by Olga Brani's avatar Olga Brani

ui: Fix trailing comma in Javascript files

parent a44a5290
......@@ -5546,10 +5546,10 @@
length: length,
duration: isValue(args.duration) ? args.duration : $$.config.transition_duration,
done: args.done,
orgDataCount: orgDataCount,
orgDataCount: orgDataCount
},
withLegend: true,
withTransition: orgDataCount > 1,
withTransition: orgDataCount > 1
});
};
......
......@@ -186,7 +186,7 @@ snf = {
notifyReloadTable: '<p class="warning">You may need to reload the table before making any new selections.<span class="wrap"><a class="clear-reload warning-btn">Clear selected and reload</a></span></p>',
warningDuplicates: '<p class="warning-duplicate">Duplicate accounts have been detected</p>',
commonRow: '<tr data-itemid=<%= itemID %> <% if(hidden) { %> class="hidden-row" <% } %> ><td class="item-name"><%= itemName %></td><td class="item-id"><%= itemID %></td><td class="owner-name"><%= ownerName %></td><td class="owner-email"><div class="wrap"><a class="remove" title="Remove item from selection">X</a><%= ownerEmail %></div></td></tr>',
contactRow: '<tr <% if(showAssociations) { %> title="related with: <%= associations %>" <% } %> data-itemid=<%= itemID %> <% if(hidden) { %> class="hidden-row" <% } %> ><td class="full-name"><%= fullName %></td><td class="email"><div class="wrap"><a class="remove" title="Remove item from selection">X</a><%= email %></div></td></tr>',
contactRow: '<tr <% if(showAssociations) { %> title="related with: <%= associations %>" <% } %> data-itemid=<%= itemID %> <% if(hidden) { %> class="hidden-row" <% } %> ><td class="full-name"><%= fullName %></td><td class="email"><div class="wrap"><a class="remove" title="Remove item from selection">X</a><%= email %></div></td></tr>'
}
},
tables: {
......
......@@ -585,7 +585,7 @@ $(document).ready(function() {
trigger: 'click',
html: true,
content: filtersListHTML,
placement: 'bottom',
placement: 'bottom'
});
$('#select-filters').attr('title', $('#select-filters').attr('link-title'));
......
......@@ -48,7 +48,7 @@ $(document).ready(function() {
dataType: "json",
success: function(data){
spinner.hide();
},
}
})
});
......
......@@ -111,7 +111,7 @@ $(document).ready(function() {
return data;
}
}
},
}
],
"order": [0, "asc"],
"createdRow": function(row, data, dataIndex) {
......@@ -250,7 +250,7 @@ $(document).ready(function() {
"orderable": false,
"render": function(data, type, rowData) {
return extraTemplate(data);
},
}
},
// "targets": '_all' this must be the last item of the array
{
......@@ -263,7 +263,7 @@ $(document).ready(function() {
return data;
}
}
},
}
],
"order": [0, "asc"],
"lengthMenu": [[5, 10, 25, 50, -1], [5, 10, 25, 50, "All"]],
......@@ -276,7 +276,7 @@ $(document).ready(function() {
row.id = 'selected-'+data[extraIndex].id.value; //sets the dom id
clickDetails(row);
clickSummary(row);
},
}
});
function keepSelected(data, drawNow) {
......@@ -486,7 +486,7 @@ $(document).ready(function() {
$summaryContent.css({
width: summaryContentWidth,
right: summaryContPos,
paddingTop: summaryContentHeight,
paddingTop: summaryContentHeight
});
}
......
......@@ -155,7 +155,7 @@ function tableSort(tableEl, iDisplayLength, bFilter) {
"bStateSave": true,
"aoColumnDefs": [
{ "sType": "num-html", "aTargets": numHTMLArr },
{ "sType": "date-uk", "aTargets": dateArr },
{ "sType": "date-uk", "aTargets": dateArr }
],
"oLanguage": {
"sLengthMenu": 'Pagination <select>'+
......
......@@ -134,7 +134,7 @@ _.extend(UsageView.prototype, {
this.container.append(this.el.main);
var ul = this.container.find("ul");
this.el.list = this.render('quotas', {
'resources': this.resources_ordered,
'resources': this.resources_ordered
});
ul.append(this.el.list).hide();
_.each(this.resources_ordered, function(resource) {
......@@ -476,7 +476,7 @@ _.extend(UsageView.prototype, {
'url': url || this.url,
'headers': {
'X-Auth-Token': token
},
}
}
},
......
......@@ -206,7 +206,7 @@
i.get_owner_uuid() != snf.user.get_username() &&
!i.is_public();
});
},
}
})
......
......@@ -290,7 +290,7 @@
}
}
});
},
}
});
models.CombinedPublicNetwork = models.Network.extend({
......
......@@ -940,7 +940,7 @@
views.IconView.VM_OS_ICON_TPLS = function() {
return {
"medium": snf.config.machines_icons_url + "medium/{0}-sprite.png",
"medium2": snf.config.machines_icons_url + "medium/{0}-sprite2.png",
"medium2": snf.config.machines_icons_url + "medium/{0}-sprite2.png"
}
}
......
......@@ -111,7 +111,7 @@
'DOWN': 'status-inactive',
'DISCONNECTED': 'status-inactive',
'UP': 'status-active',
'REMOVING': 'status-progress destroying-state',
'REMOVING': 'status-progress destroying-state'
},
tpl: '#ip-view-tpl',
......@@ -313,7 +313,7 @@
views.IpsPaneView = views.ext.PaneView.extend({
el: '#ips-pane',
collection_view_cls: views.IpCollectionView,
collection_view_cls: views.IpCollectionView
});
views.IPConnectVmOverlay = views.NetworkConnectVMsOverlay.extend({
......
......@@ -182,7 +182,7 @@
synnefo.storage.keys.create({
content: data.key,
name: data.name,
name: data.name
}, params);
},
......
......@@ -133,7 +133,7 @@
'disk': '.machine-detail.disk',
'image_name': '.machine-detail.image-name',
'image_size': '.machine-detail.image-size'
},
}
})
......
......@@ -544,7 +544,7 @@
}, 1000);
}, this));
}
},
}
});
views.VolumeView = views.ext.ModelView.extend({
......
......@@ -212,7 +212,7 @@
options['el'] = $(this.$(this.collection_view_selector).get(0));
this.collection_view = this.create_view(this.collection_view_cls, options);
this.add_subview(this.collection_view);
},
}
});
views.ext.CollectionView = views.ext.View.extend({
......
......@@ -168,7 +168,7 @@
error: err || function() {},
silent: true
});
},
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment