mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 16:02:46 +08:00
[Mobile] Fix Bug 47759
This commit is contained in:
@ -1308,7 +1308,10 @@ define([
|
||||
var buttons = [{
|
||||
text: 'OK',
|
||||
bold: true,
|
||||
close: false,
|
||||
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();
|
||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||
|
||||
|
||||
@ -1197,7 +1197,10 @@ define([
|
||||
var buttons = [{
|
||||
text: 'OK',
|
||||
bold: true,
|
||||
close: false,
|
||||
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();
|
||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||
|
||||
|
||||
@ -1404,7 +1404,10 @@ define([
|
||||
var buttons = [{
|
||||
text: 'OK',
|
||||
bold: true,
|
||||
close: false,
|
||||
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();
|
||||
me.api.asc_setAdvancedOptions(type, new Asc.asc_CDRMAdvancedOptions(password));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user