SAAS-712: UI Improvements
This commit is contained in:
parent
f6d5b34cca
commit
23bf866211
13 changed files with 81 additions and 50 deletions
|
@ -29,12 +29,16 @@ function getStreamMode() {
|
|||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#player_stream_url-element").hide();
|
||||
|
||||
$("#player_stream_mode-element").change(function() {
|
||||
var $streamMode = getStreamMode();
|
||||
|
||||
if ($streamMode == "auto") {
|
||||
$("#player_stream_url-element input[type='radio']").attr("disabled", "disabled");
|
||||
$("#player_stream_url-element").hide();
|
||||
|
||||
} else if ($streamMode == "manual") {
|
||||
$("#player_stream_url-element input[type='radio']").removeAttr("disabled");
|
||||
$("#player_stream_url-element").show();
|
||||
|
||||
$("input[name=player_stream_url]").each(function(i, obj) {
|
||||
if ($(this).parent().text().toLowerCase().indexOf("opus") >= 0) {
|
Loading…
Add table
Add a link
Reference in a new issue