@@ -293,73 +293,75 @@ GuiConnector.prototype.alert = function (error, redirectIfSecurityError) {
}else{
varself=returnThisOrSingleton(this);
logger.error(error);
if (self._errorDialog===undefined){
varerrorData=self.getErrorMessageForError(error);
varmessage=errorData.message;
varstacktrace={
value:errorData.stack,
tooltip:'The error stacktrace. The sequence of events that triggered this particular error.'
};
self._errorDialog=document.createElement('div');
self._errorDialog.innerHTML='<span class="ui-icon ui-icon-info" style="float: right;" title="The error message. This might not be human readable. If this issue persists you should should contact your administrator."></span>'+
'<span>'+message+'</span>';
self.gatherReportData().then(function (data){
self._errorDialog.innerHTML+='<p class="report-dialog-warning">If you agree to submit the following information to the Minerva maintainers please uncheck all boxes that might contain sensitive data.</p>';
tooltip:'The error stacktrace. The sequence of events that triggered this particular error.'
};
self._errorDialog=document.createElement('div');
self._errorDialog.innerHTML='<span class="ui-icon ui-icon-info" style="float: right;" title="The error message. This might not be human readable. If this issue persists you should should contact your administrator."></span>'+
'<span>'+message+'</span>';
self.gatherReportData().then(function (data){
self._errorDialog.innerHTML+='<p class="report-dialog-warning">If you agree to submit the following information to the Minerva maintainers please uncheck all boxes that might contain sensitive data.</p>';