GUACAMOLE-598: Abort rendering of pages if critical data fails to load (data without which the page is non-functional).

This commit is contained in:
Michael Jumper
2018-06-26 22:49:06 -07:00
parent c897c7eb26
commit 5866c7e251
16 changed files with 25 additions and 21 deletions

View File

@@ -287,7 +287,7 @@ angular.module('manage').controller('manageConnectionController', ['$scope', '$i
PermissionSet.hasConnectionPermission,
identifier);
}, requestService.WARN);
}, requestService.DIE);
// Get history date format
$translate('MANAGE_CONNECTION.FORMAT_HISTORY_START').then(function historyDateFormatReceived(historyDateFormat) {

View File

@@ -245,7 +245,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
PermissionSet.hasConnectionPermission,
identifier);
}, requestService.WARN);
}, requestService.DIE);
/**
* Cancels all pending edits, returning to the main list of connections

View File

@@ -277,7 +277,7 @@ angular.module('manage').controller('manageSharingProfileController', ['$scope',
PermissionSet.hasConnectionPermission,
identifier);
}, requestService.WARN);
}, requestService.DIE);
/**
* @borrows Protocol.getNamespace

View File

@@ -335,7 +335,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
});
}, requestService.WARN);
}, requestService.DIE);
/**
* Returns the URL for the page which manages the user account currently