mirror of https://github.com/sualko/cloud_bbb
Renamed shortenerAppSave from saveAppSettings to saveShortSettings
parent
7ee897b2c5
commit
fb4b17d8b5
|
@ -76,7 +76,7 @@ $(() => {
|
|||
return shortener.replace(/</g, '<').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(() => {
|
||||
|
|
Loading…
Reference in New Issue