From 4620abbb5b0388ded1f292fb79ac686edae619ab Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 23 Sep 2013 20:59:42 -0700 Subject: [PATCH] Use subarray rather than slice (as IE10 lacks slice). --- guacamole/src/main/webapp/scripts/client-ui.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/guacamole/src/main/webapp/scripts/client-ui.js b/guacamole/src/main/webapp/scripts/client-ui.js index 1456910da..5f7dd9dd7 100644 --- a/guacamole/src/main/webapp/scripts/client-ui.js +++ b/guacamole/src/main/webapp/scripts/client-ui.js @@ -1047,10 +1047,9 @@ GuacUI.Client.attach = function(guac) { e.stopPropagation(); } - function _get_base64(buffer) { + function _get_base64(bytes) { var data = ""; - var bytes = new Uint8Array(buffer); // Produce binary string from bytes in buffer for (var i=0; i