[Mobile] Fix Bug 47759
This commit is contained in:
parent
f482c4b62f
commit
3e4b5cb0d2
|
@ -1308,7 +1308,10 @@ define([
|
||||||
var buttons = [{
|
var buttons = [{
|
||||||
text: 'OK',
|
text: 'OK',
|
||||||
bold: true,
|
bold: true,
|
||||||
|
close: false,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
|
if (!me._state.openDlg) return;
|
||||||
|
$(me._state.openDlg).hasClass('modal-in') && uiApp.closeModal(me._state.openDlg);
|
||||||
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
||||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||||
|
|
||||||
|
|
|
@ -1197,7 +1197,10 @@ define([
|
||||||
var buttons = [{
|
var buttons = [{
|
||||||
text: 'OK',
|
text: 'OK',
|
||||||
bold: true,
|
bold: true,
|
||||||
|
close: false,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
|
if (!me._state.openDlg) return;
|
||||||
|
$(me._state.openDlg).hasClass('modal-in') && uiApp.closeModal(me._state.openDlg);
|
||||||
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
||||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||||
|
|
||||||
|
|
|
@ -1404,7 +1404,10 @@ define([
|
||||||
var buttons = [{
|
var buttons = [{
|
||||||
text: 'OK',
|
text: 'OK',
|
||||||
bold: true,
|
bold: true,
|
||||||
|
close: false,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
|
if (!me._state.openDlg) return;
|
||||||
|
$(me._state.openDlg).hasClass('modal-in') && uiApp.closeModal(me._state.openDlg);
|
||||||
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
var password = $(me._state.openDlg).find('.modal-text-input[name="modal-password"]').val();
|
||||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue