Various layout updates and tiny upgrade fixes [skip ci]

This commit is contained in:
James Cole
2016-09-16 13:29:56 +02:00
parent c123e1044a
commit aac0c9ab98
7 changed files with 32 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ $(function () {
function checkImportStatus() {
"use strict";
console.log('checkImportStatus()');
$.getJSON(jobImportUrl).success(reportOnJobImport).fail(failedJobImport);
$.getJSON(jobImportUrl).done(reportOnJobImport).fail(failedJobImport);
}
function importComplete(data) {

View File

@@ -34,7 +34,7 @@ function clickInfoButton(e) {
attributes.reportType = reportType;
attributes.accounts = accountIds;
$.getJSON('popup/report', {attributes: attributes}).success(respondInfoButton).fail(errorInfoButton);
$.getJSON('popup/report', {attributes: attributes}).done(respondInfoButton).fail(errorInfoButton);
}
function errorInfoButton(data) {