Change file sharing by url for wopi
This commit is contained in:
parent
e645ca4c4d
commit
f8ee00314a
|
@ -904,6 +904,9 @@ define([
|
||||||
|
|
||||||
if (this.appConfig.canRequestSharingSettings) {
|
if (this.appConfig.canRequestSharingSettings) {
|
||||||
Common.Gateway.requestSharingSettings();
|
Common.Gateway.requestSharingSettings();
|
||||||
|
} else {
|
||||||
|
if (this.appConfig.wopi) {
|
||||||
|
window.open(this.appConfig.sharingSettingsUrl, "_blank");
|
||||||
} else {
|
} else {
|
||||||
var me = this;
|
var me = this;
|
||||||
me._docAccessDlg = new Common.Views.DocumentAccessDialog({
|
me._docAccessDlg = new Common.Views.DocumentAccessDialog({
|
||||||
|
@ -917,6 +920,7 @@ define([
|
||||||
|
|
||||||
me._docAccessDlg.show();
|
me._docAccessDlg.show();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
setSharingSettings: function(data) {
|
setSharingSettings: function(data) {
|
||||||
|
|
Loading…
Reference in a new issue