replace trailing slash of wopi url
This commit is contained in:
parent
86fb4ead72
commit
6d49e2d003
@ -4,7 +4,7 @@ var documentsSettings = {
|
|||||||
save : function() {
|
save : function() {
|
||||||
$('#wopi_apply').attr('disabled', true);
|
$('#wopi_apply').attr('disabled', true);
|
||||||
var data = {
|
var data = {
|
||||||
wopi_url : $('#wopi_url').val()
|
wopi_url : $('#wopi_url').val().replace(/\/$/, '')
|
||||||
};
|
};
|
||||||
|
|
||||||
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving...'));
|
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving...'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user