[SSE] Fix Bug 45112
This commit is contained in:
parent
ed37202133
commit
ba1c1e1c1b
|
@ -2209,8 +2209,8 @@ define([
|
|||
this.documentHolder.cmpEl.append(inputtip.parentEl);
|
||||
}
|
||||
|
||||
var hint = title ? ('<b>' + (title || '') + '</b><br>') : '';
|
||||
hint += (message || '');
|
||||
var hint = title ? ('<b>' + (Common.Utils.String.htmlEncode(title || '')) + '</b><br>') : '';
|
||||
hint += (Common.Utils.String.htmlEncode(message || ''));
|
||||
|
||||
if (inputtip.ref && inputtip.ref.isVisible()) {
|
||||
if (inputtip.text != hint) {
|
||||
|
|
|
@ -1436,9 +1436,9 @@ define([
|
|||
if (icon!==undefined) {
|
||||
config.iconCls = (icon==Asc.c_oAscEDataValidationErrorStyle.Stop) ? 'error' : ((icon==Asc.c_oAscEDataValidationErrorStyle.Information) ? 'info' : 'warn');
|
||||
}
|
||||
errData && errData.asc_getErrorTitle() && (config.title = errData.asc_getErrorTitle());
|
||||
errData && errData.asc_getErrorTitle() && (config.title = Common.Utils.String.htmlEncode(errData.asc_getErrorTitle()));
|
||||
config.buttons = ['ok', 'cancel'];
|
||||
config.msg = errData && errData.asc_getError() ? errData.asc_getError() : this.errorDataValidate;
|
||||
config.msg = errData && errData.asc_getError() ? Common.Utils.String.htmlEncode(errData.asc_getError()) : this.errorDataValidate;
|
||||
config.maxwidth = 600;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue