GUAC-605: Add status strings. Show dialog when status changes.

This commit is contained in:
Michael Jumper
2014-11-12 18:29:37 -08:00
parent 1fd5497382
commit 53411640a0
3 changed files with 23 additions and 5 deletions

View File

@@ -210,7 +210,7 @@ angular.module('client').directive('guacClient', [function guacClient() {
// Connected
case 3:
$scope.$emit('guacClientStatusChange', guac, null);
$scope.$emit('guacClientStatusChange', guac, "connected");
// Update server clipboard with current data
var clipboard = localStorageUtility.get("clipboard");
@@ -366,9 +366,6 @@ angular.module('client').directive('guacClient', [function guacClient() {
guac.getDisplay().showCursor(false);
};
// Hide any existing status notifications
$scope.$emit('guacClientStatusChange', guac, null);
var $display = $element.find('.display');
// Remove old client from UI, if any