Codacy cleanup

This commit is contained in:
Antonin Delpeuch 2018-10-05 10:27:09 +01:00
parent 610a8b3100
commit 61928a671b

View File

@ -139,11 +139,10 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var services = ReconciliationManager.getAllServices(); var services = ReconciliationManager.getAllServices();
for (var i = 0; i < services.length; i++) { for (var i = 0; i < services.length; i++) {
var service = services[i]; var service = services[i];
console.log(service);
$('<option></option>').attr('value', service.url) $('<option></option>').attr('value', service.url)
.text(service.name) .text(service.name)
.appendTo(select); .appendTo(select);
}; }
$('<button class="button"></button>').text($.i18n._('core-buttons')["cancel"]).click(function() { $('<button class="button"></button>').text($.i18n._('core-buttons')["cancel"]).click(function() {
DialogSystem.dismissUntil(level - 1); DialogSystem.dismissUntil(level - 1);
@ -178,7 +177,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
}).appendTo(footer); }).appendTo(footer);
var level = DialogSystem.showDialog(frame); var level = DialogSystem.showDialog(frame);
} };
var doCopyAcrossColumns = function() { var doCopyAcrossColumns = function() {