- fixed some UI problems that get broken with one of the last commits

This commit is contained in:
Mark Friedrich
2018-07-09 20:35:20 +02:00
parent 32eacc4bc2
commit c9ce37290f
5 changed files with 15 additions and 13 deletions

View File

@@ -146,7 +146,7 @@ define([
nameRowElement.addCharacterInfoTooltip( tooltipData );
}
moduleElement.hideLoadingAnimation();
moduleElement.find('.' + config.descriptionArea).hideLoadingAnimation();
};
/**

View File

@@ -277,7 +277,7 @@ define([
}
// set new value
updateCell.data( data ).draw();
updateCell.data(data).draw();
if(cellIndex === 7){
updateCellElement.initTimestampCounter();
@@ -584,6 +584,8 @@ define([
moduleElement: moduleElement
}
}).done(function(responseData){
// unlock table for update
unlockSignatureTable(true);
// updates table with new/updated signature information
updateSignatureTable(this.moduleElement, responseData.signatures, false);
}).fail(function( jqXHR, status, error) {

View File

@@ -1330,10 +1330,15 @@ define([
return url;
};
/**
* request system data
* @param requestData
* @param context
* @returns {Promise<any>}
*/
let requestSystemData = (requestData, context) => {
let requestSystemDataExecutor = (resolve, reject) => {
$.ajax({
url: Init.path.getSystemData,
type: 'POST',
@@ -1351,14 +1356,7 @@ define([
console.warn('Missing systemData in response!', requestData);
}
}).fail(function( jqXHR, status, error) {
/*
}
let reason = status + ' ' + error;
Util.showNotify({title: jqXHR.status + ': System intel data', text: reason, type: 'warning'});
$(document).setProgramStatus('problem'); */
}).always(function(){
// hide loading animation
// this.moduleElement.hideLoadingAnimation();
console.warn('Fail request systemData!', requestData);
});
};

View File

@@ -146,7 +146,7 @@ define([
nameRowElement.addCharacterInfoTooltip( tooltipData );
}
moduleElement.hideLoadingAnimation();
moduleElement.find('.' + config.descriptionArea).hideLoadingAnimation();
};
/**

View File

@@ -277,7 +277,7 @@ define([
}
// set new value
updateCell.data( data ).draw();
updateCell.data(data).draw();
if(cellIndex === 7){
updateCellElement.initTimestampCounter();
@@ -584,6 +584,8 @@ define([
moduleElement: moduleElement
}
}).done(function(responseData){
// unlock table for update
unlockSignatureTable(true);
// updates table with new/updated signature information
updateSignatureTable(this.moduleElement, responseData.signatures, false);
}).fail(function( jqXHR, status, error) {