Renamed shortenerAppSave from saveAppSettings to saveShortSettings

pull/134/head
Christoph Schmidt 2021-03-17 19:06:31 +01:00
parent 7ee897b2c5
commit fb4b17d8b5
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ $(() => {
return shortener.replace(/</g, '&lt;').replace(/\{user\}/g, `<strong>${OC.currentUser}</strong>`).replace(/\{token\}/g, '<strong>your_room_id</strong>');
}
async function saveAppSettings(shortener: string) {
async function saveShortSettings(shortener: string) {
await checkPasswordConfirmation();
if (shortener && shortener.indexOf('https://') !== 0) {
@ -95,7 +95,7 @@ $(() => {
const resultElement = $(this).find('.bbb-result').empty();
saveAppSettings(this['app.shortener'].value).then(() => {
saveShortSettings(this['app.shortener'].value).then(() => {
const successElement = generateSuccessElement(t('bbb', 'Settings saved'));
setTimeout(() => {