From 775577d4fa1fed35c84f276082b4ebb440eb3947 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 19 Sep 2013 23:08:28 -0400 Subject: [PATCH] VRFS-697 configure track bug - possible fix --- web/app/assets/javascripts/configureTrack.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/web/app/assets/javascripts/configureTrack.js b/web/app/assets/javascripts/configureTrack.js index ededb4025..1a8791ad0 100644 --- a/web/app/assets/javascripts/configureTrack.js +++ b/web/app/assets/javascripts/configureTrack.js @@ -541,16 +541,8 @@ // logger.debug("channel id=" + val.id + ", channel input=" + val.input + ", channel assignment=" + currAssignment + // ", channel name=" + val.name + ", channel type=" + val.device_type + ", chat=" + val.chat); - var os = context.jamClient.GetOSAsString(); - if (os === context.JK.OS.WIN32) { - if (chat && ($.inArray(val.device_id, musicDevices) > -1 || context.jamClient.TrackIsMusicDeviceType(val.device_type))) { - return; - } - } - else { - if (chat && ($.inArray(val.device_id, musicDevices) > -1 || !context.jamClient.TrackIsMusicDeviceType(val.device_type))) { - return; - } + if (chat && ($.inArray(val.device_id, musicDevices) > -1 || context.jamClient.TrackIsMusicDeviceType(val.device_type))) { + return; } if (!chat && $.inArray(val.device_id, musicDevices) === -1) {