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