cloud_bbb/ts/admin.ts

10 lines
308 B
TypeScript
Raw Normal View History

2020-04-26 11:36:41 +02:00
declare const OCP: any;
$(() => {
$('#bigbluebutton-settings form').submit(function (ev) {
ev.preventDefault();
OCP.AppConfig.setValue('bigbluebutton', 'api.url', this['api.url'].value);
OCP.AppConfig.setValue('bigbluebutton', 'api.secret', this['api.secret'].value);
})
});