Merge branch 'hotfix/v6.1.1' into release/v6.2.0
This commit is contained in:
commit
0dd5a8a5de
|
@ -68,6 +68,7 @@ define([
|
|||
preview : options.preview,
|
||||
warning : options.warning,
|
||||
codepages : options.codepages,
|
||||
warningMsg : options.warningMsg,
|
||||
width : width,
|
||||
height : height,
|
||||
header : true,
|
||||
|
@ -85,7 +86,7 @@ define([
|
|||
'<% if (warning) { %>',
|
||||
'<div>',
|
||||
'<div class="icon img-commonctrl warn"></div>',
|
||||
'<div style="padding-left: 50px;"><div style="font-size: 12px;">' + t.txtProtected+ '</div>',
|
||||
'<div style="padding-left: 50px;"><div style="font-size: 12px;">' + (typeof _options.warningMsg=='string' ? _options.warningMsg : t.txtProtected) + '</div>',
|
||||
'<label class="header" style="margin-top: 15px;">' + t.txtPassword + '</label>',
|
||||
'<div id="id-password-txt" style="width: 290px;"></div></div>',
|
||||
'</div>',
|
||||
|
|
|
@ -2098,6 +2098,7 @@ define([
|
|||
closeFile: me.appOptions.canRequestClose,
|
||||
type: Common.Utils.importTextType.DRM,
|
||||
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
|
||||
warningMsg: advOptions,
|
||||
validatePwd: !!me._state.isDRM,
|
||||
handler: function (result, value) {
|
||||
me.isShowOpenDialog = false;
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
var re = /chrome\/(\d+)/i.exec(userAgent);
|
||||
if (!!re && !!re[1] && !(re[1] > 49)) {
|
||||
setTimeout(function () {
|
||||
document.getElementsByTagName('body')[0].className += "winxp";
|
||||
document.getElementsByTagName('html')[0].className += "winxp";
|
||||
},0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1339,7 +1339,7 @@ define([
|
|||
|
||||
me._state.openDlg = uiApp.modal({
|
||||
title: me.advDRMOptions,
|
||||
text: me.txtProtected,
|
||||
text: (typeof advOptions=='string' ? advOptions : me.txtProtected),
|
||||
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||
buttons: buttons
|
||||
});
|
||||
|
|
|
@ -1888,6 +1888,7 @@ define([
|
|||
closeFile: me.appOptions.canRequestClose,
|
||||
type: Common.Utils.importTextType.DRM,
|
||||
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
|
||||
warningMsg: advOptions,
|
||||
validatePwd: !!me._state.isDRM,
|
||||
handler: function (result, value) {
|
||||
me.isShowOpenDialog = false;
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
var re = /chrome\/(\d+)/i.exec(userAgent);
|
||||
if (!!re && !!re[1] && !(re[1] > 49)) {
|
||||
setTimeout(function () {
|
||||
document.getElementsByTagName('body')[0].className += "winxp";
|
||||
document.getElementsByTagName('html')[0].className += "winxp";
|
||||
},0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1224,7 +1224,7 @@ define([
|
|||
|
||||
me._state.openDlg = uiApp.modal({
|
||||
title: me.advDRMOptions,
|
||||
text: me.txtProtected,
|
||||
text: (typeof advOptions=='string' ? advOptions : me.txtProtected),
|
||||
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||
buttons: buttons
|
||||
});
|
||||
|
|
|
@ -1834,6 +1834,7 @@ define([
|
|||
closeFile: me.appOptions.canRequestClose,
|
||||
type: Common.Utils.importTextType.DRM,
|
||||
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
|
||||
warningMsg: advOptions,
|
||||
validatePwd: !!me._state.isDRM,
|
||||
handler: function (result, value) {
|
||||
me.isShowOpenDialog = false;
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
var re = /chrome\/(\d+)/i.exec(userAgent);
|
||||
if (!!re && !!re[1] && !(re[1] > 49)) {
|
||||
setTimeout(function () {
|
||||
document.getElementsByTagName('body')[0].className += "winxp";
|
||||
document.getElementsByTagName('html')[0].className += "winxp";
|
||||
},0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1430,7 +1430,7 @@ define([
|
|||
|
||||
me._state.openDlg = uiApp.modal({
|
||||
title: me.advDRMOptions,
|
||||
text: me.txtProtected,
|
||||
text: (typeof advOptions=='string' ? advOptions : me.txtProtected),
|
||||
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||
buttons: buttons
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue