mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
FS-8076 [verto_communicator] Ask before closing the page if a call is in progress.
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
$rootScope.dtmfHistory = { value: '' };
|
||||
$rootScope.onKeydownDtmfEnabled = true;
|
||||
|
||||
$.verto.haltClosure = function() {
|
||||
if (verto.data.callState == 'active') {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
if (storage.data.language && storage.data.language !== 'browser') {
|
||||
$translate.use(storage.data.language);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user