mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 12:10:18 +00:00
Merge pull request #1647 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:fix/remove_default_value to master
* commit 'fd7c6a8afa0d8c0e4dc47828c2d02ff166b20d4a': FS-11589 [verto_communicator]: removing es6 use to support old browsers syntax
This commit is contained in:
commit
4e4c2711e9
@ -77,10 +77,15 @@
|
|||||||
* Login the user to verto server and
|
* Login the user to verto server and
|
||||||
* redirects him to dialpad page.
|
* redirects him to dialpad page.
|
||||||
*/
|
*/
|
||||||
$rootScope.login = function(redirect, skipPreview = false) {
|
$rootScope.login = function(redirect, skipPreview) {
|
||||||
if(redirect == undefined) {
|
if(redirect == undefined) {
|
||||||
redirect = true;
|
redirect = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(skipPreview == undefined) {
|
||||||
|
redirect == false;
|
||||||
|
}
|
||||||
|
|
||||||
var connectCallback = function(v, connected) {
|
var connectCallback = function(v, connected) {
|
||||||
$scope.$apply(function() {
|
$scope.$apply(function() {
|
||||||
verto.data.connecting = false;
|
verto.data.connecting = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user