mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-963: Add missing function names.
This commit is contained in:
@@ -148,7 +148,7 @@ angular.module('client').factory('ManagedDisplay', ['$rootScope',
|
||||
});
|
||||
|
||||
// Store changes to display size
|
||||
display.onresize = function() {
|
||||
display.onresize = function setClientSize() {
|
||||
$rootScope.$apply(function updateClientSize() {
|
||||
managedDisplay.size = new ManagedDisplay.Dimensions({
|
||||
width : display.getWidth(),
|
||||
@@ -158,7 +158,7 @@ angular.module('client').factory('ManagedDisplay', ['$rootScope',
|
||||
};
|
||||
|
||||
// Store changes to display cursor
|
||||
display.oncursor = function(canvas, x, y) {
|
||||
display.oncursor = function setClientCursor(canvas, x, y) {
|
||||
$rootScope.$apply(function updateClientCursor() {
|
||||
managedDisplay.cursor = new ManagedDisplay.Cursor({
|
||||
canvas : canvas,
|
||||
|
@@ -116,7 +116,7 @@ angular.module('client').factory('ManagedFileTransferState', [function defineMan
|
||||
* specified, the status code of the ManagedFileTransferState is not
|
||||
* touched.
|
||||
*/
|
||||
ManagedFileTransferState.setStreamState = function(transferState, streamState, statusCode) {
|
||||
ManagedFileTransferState.setStreamState = function setStreamState(transferState, streamState, statusCode) {
|
||||
|
||||
// Do not set state after an error is registered
|
||||
if (transferState.streamState === ManagedFileTransferState.StreamState.ERROR)
|
||||
|
@@ -134,7 +134,7 @@ angular.module('client').factory('ManagedFileUpload', ['$rootScope', '$injector'
|
||||
|
||||
// Construct reader for file
|
||||
var reader = new FileReader();
|
||||
reader.onloadend = function() {
|
||||
reader.onloadend = function fileContentsLoaded() {
|
||||
|
||||
// Open file for writing
|
||||
var stream = client.createFileStream(file.type, file.name);
|
||||
@@ -159,7 +159,7 @@ angular.module('client').factory('ManagedFileUpload', ['$rootScope', '$injector'
|
||||
|
||||
// Invalidate stream on all errors
|
||||
// Continue upload when acknowledged
|
||||
stream.onack = function(status) {
|
||||
stream.onack = function ackReceived(status) {
|
||||
|
||||
// Handle errors
|
||||
if (status.isError()) {
|
||||
|
Reference in New Issue
Block a user