GUAC-981: Fix handling of errors. Fix handling of auto-reconnect.
This commit is contained in:
1 parent
0e35949b2b
commit
58df817781
4 files changed
+7
-26
No files matched your search
@@ -66,8 +66,8 @@ angular.module('notification').directive('guacNotification', [function guacNotif
|
||||
$scope.timeRemaining--;
|
||||
|
||||
// Call countdown callback when time remaining expires
|
||||
if ($scope.timeRemaining === 0)
|
||||
countdown.performAction();
|
||||
if ($scope.timeRemaining === 0 && countdown.callback)
|
||||
countdown.callback();
|
||||
|
||||
}, 1000, $scope.timeRemaining);
|
||||
|
||||
|
||||
Reference in new issue
Block a user