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
|
||||
* redirects him to dialpad page.
|
||||
*/
|
||||
$rootScope.login = function(redirect, skipPreview = false) {
|
||||
$rootScope.login = function(redirect, skipPreview) {
|
||||
if(redirect == undefined) {
|
||||
redirect = true;
|
||||
}
|
||||
|
||||
if(skipPreview == undefined) {
|
||||
redirect == false;
|
||||
}
|
||||
|
||||
var connectCallback = function(v, connected) {
|
||||
$scope.$apply(function() {
|
||||
verto.data.connecting = false;
|
||||
|
|
Loading…
Reference in New Issue