- fixed some UI problems that get broken with one of the last commits
This commit is contained in:
@@ -146,7 +146,7 @@ define([
|
||||
nameRowElement.addCharacterInfoTooltip( tooltipData );
|
||||
}
|
||||
|
||||
moduleElement.hideLoadingAnimation();
|
||||
moduleElement.find('.' + config.descriptionArea).hideLoadingAnimation();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ define([
|
||||
nameRowElement.addCharacterInfoTooltip( tooltipData );
|
||||
}
|
||||
|
||||
moduleElement.hideLoadingAnimation();
|
||||
moduleElement.find('.' + config.descriptionArea).hideLoadingAnimation();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user