mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 13:27:32 +08:00
Fix bug #64238
This commit is contained in:
committed by
Oleg Korshul
parent
ba02694a12
commit
1804540585
@ -1706,13 +1706,13 @@ define([
|
||||
};
|
||||
|
||||
if (oInfo["greater"] != null && oInfo["less"] != null) {
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidGreaterLess, oInfo["target"].GetFullName(), oInfo["greater"], oInfo["less"]);
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidGreaterLess, oInfo["target"]["api"]["name"], oInfo["greater"], oInfo["less"]);
|
||||
}
|
||||
else if (oInfo["greater"] != null) {
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidGreater, oInfo["target"].GetFullName(), oInfo["greater"]);
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidGreater, oInfo["target"]["api"]["name"], oInfo["greater"]);
|
||||
}
|
||||
else if (oInfo["less"] != null) {
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidLess, oInfo["target"].GetFullName(), oInfo["less"]);
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidLess, oInfo["target"]["api"]["name"], oInfo["less"]);
|
||||
}
|
||||
|
||||
if (!Common.Utils.ModalWindow.isVisible() || $('.asc-window.modal.alert[data-value=' + id + ']').length<1)
|
||||
@ -1728,7 +1728,7 @@ define([
|
||||
buttons: ['ok']
|
||||
};
|
||||
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidPdfFormat, oInfo["target"].GetFullName());
|
||||
config.msg = Common.Utils.String.format(this.txtInvalidPdfFormat, oInfo["target"]["api"]["name"]);
|
||||
if (oInfo["format"])
|
||||
config.msg += '<br>' + Common.Utils.String.format(this.txtValidPdfFormat, oInfo["format"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user