Merge branch 'feature/mobile-settings' of https://github.com/ONLYOFFICE/web-apps-pro into feature/mobile-settings
This commit is contained in:
commit
85d76282c1
|
@ -294,7 +294,9 @@ define([
|
||||||
if (settings) {
|
if (settings) {
|
||||||
me.api.asc_SetFootnoteProps(settings.props, settings.applyToAll);
|
me.api.asc_SetFootnoteProps(settings.props, settings.applyToAll);
|
||||||
if (result == 'insert')
|
if (result == 'insert')
|
||||||
|
setTimeout(function() {
|
||||||
me.api.asc_AddFootnote(settings.custom);
|
me.api.asc_AddFootnote(settings.custom);
|
||||||
|
}, 1);
|
||||||
}
|
}
|
||||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||||
},
|
},
|
||||||
|
|
|
@ -162,7 +162,9 @@ define([
|
||||||
props.put_NumRestart(Asc.c_oAscFootnoteRestart.Continuous);
|
props.put_NumRestart(Asc.c_oAscFootnoteRestart.Continuous);
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
me.api.asc_SetFootnoteProps(props, false);
|
me.api.asc_SetFootnoteProps(props, false);
|
||||||
|
setTimeout(function() {
|
||||||
me.api.asc_AddFootnote();
|
me.api.asc_AddFootnote();
|
||||||
|
}, 1);
|
||||||
DE.getController('AddContainer').hideModal();
|
DE.getController('AddContainer').hideModal();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue