CC-84: Smart Playlists
- block options scroll for small screens
This commit is contained in:
parent
028e089c82
commit
ef994aa449
|
@ -1,5 +1,5 @@
|
||||||
<form id="smart-playlist-form" method="post" action="">
|
<form id="smart-playlist-form" method="post" action="">
|
||||||
<fieldset class='toggle <?php echo $this->openOption ? "" : "closed"?>' id='smart_playlist_options'>
|
<fieldset class='sp-scrollable toggle <?php echo $this->openOption ? "" : "closed"?>' id='smart_playlist_options'>
|
||||||
<legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span>Smart Playlist Options</legend>
|
<legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span>Smart Playlist Options</legend>
|
||||||
<dl class='zend_form'>
|
<dl class='zend_form'>
|
||||||
<div id='sp-success' class='success' style='display:none'></div>
|
<div id='sp-success' class='success' style='display:none'></div>
|
||||||
|
|
|
@ -484,6 +484,11 @@ table.library-get-file-md.table-small{
|
||||||
|
|
||||||
|
|
||||||
/***** SMART PLAYLIST SPECIFIC STYLES BEGIN *****/
|
/***** SMART PLAYLIST SPECIFIC STYLES BEGIN *****/
|
||||||
|
.sp-scrollable{
|
||||||
|
overflow-x: auto;
|
||||||
|
width: 781px;
|
||||||
|
}
|
||||||
|
|
||||||
.sp-invisible{
|
.sp-invisible{
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,8 @@ function setSmartPlaylistEvents() {
|
||||||
item_to_hide.children().attr('disabled', 'disabled');
|
item_to_hide.children().attr('disabled', 'disabled');
|
||||||
item_to_hide.find('[name^="sp_criteria_field"]').val(0).end()
|
item_to_hide.find('[name^="sp_criteria_field"]').val(0).end()
|
||||||
.find('[name^="sp_criteria_modifier"]').val(0).end()
|
.find('[name^="sp_criteria_modifier"]').val(0).end()
|
||||||
.find('[name^="sp_criteria_value"]').val('');
|
.find('[name^="sp_criteria_value"]').val('').end()
|
||||||
|
.find('[name^="sp_criteria_extra"]').val('');
|
||||||
|
|
||||||
sizeTextBoxes(item_to_hide.find('[name^="sp_criteria_value"]'), 'sp_extra_input_text', 'sp_input_text');
|
sizeTextBoxes(item_to_hide.find('[name^="sp_criteria_value"]'), 'sp_extra_input_text', 'sp_input_text');
|
||||||
item_to_hide.hide();
|
item_to_hide.hide();
|
||||||
|
|
Loading…
Reference in New Issue