Further refactoring of old interface.js into client-ui.js, cleanup.

This commit is contained in:
Michael Jumper
2012-11-13 21:27:47 -08:00
parent 5d587373f3
commit 634f71fa14
3 changed files with 161 additions and 128 deletions

View File

@@ -127,12 +127,12 @@
+ "&height=" + optimal_height;
// Add audio mimetypes to connect_string
GuacamoleUI.supportedAudio.forEach(function(mimetype) {
GuacUI.Audio.supported.forEach(function(mimetype) {
connect_string += "&audio=" + encodeURIComponent(mimetype);
});
// Add video mimetypes to connect_string
GuacamoleUI.supportedVideo.forEach(function(mimetype) {
GuacUI.Video.supported.forEach(function(mimetype) {
connect_string += "&video=" + encodeURIComponent(mimetype);
});