Fix some behaviour with playlist/smartblock fade button
This commit is contained in:
parent
d18d52a37a
commit
63784d4e6b
4 changed files with 10 additions and 9 deletions
|
@ -43,10 +43,10 @@ if (isset($this->obj)) {
|
|||
<div class='btn-group'>
|
||||
<button class="btn" title='<?php echo _("Shuffle playlist") ?>' type="button" id="playlist_shuffle_button"><?php echo _("Shuffle") ?></button>
|
||||
</div>
|
||||
<div class='btn-group' style="display:<?php echo $count > 0 ?"inherit;":"none;"?>">
|
||||
<a href="#" id="spl_crossfade" class="btn crossfade-main-button">
|
||||
<div class='btn-group'>
|
||||
<button id="spl_crossfade" class="btn crossfade-main-button" <?php if ($count <= 0) echo "disabled=disabled"; ?>>
|
||||
<i class='crossfade-main-icon'></i><span class="ui-button-text"><?php echo _("Playlist crossfade") ?></span>
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
<div class='btn-group'>
|
||||
<button class="btn btn-danger" title='<?php echo _("Empty playlist content") ?>' type="button" id="pl-bl-clear-content"><?php echo _("Clear") ?></button>
|
||||
|
|
|
@ -51,8 +51,8 @@ if (isset($this->obj)) {
|
|||
<div class='btn-group'>
|
||||
<?php echo $this->form->getElement('shuffle_button');?>
|
||||
</div>
|
||||
<div class='btn-group' style="display:<?php echo ($this->obj->isStatic() && $count > 0) ?"inherit;":"none;"?>">
|
||||
<a href="#" id="spl_crossfade" class="btn crossfade-main-button">
|
||||
<div class='btn-group'>
|
||||
<a href="#" id="spl_crossfade" class="btn crossfade-main-button" <?php if (!$this->obj->isStatic() || $count <= 0) echo "disabled=disabled"; ?>>
|
||||
<i class='crossfade-main-icon'></i><span class="ui-button-text"><?php echo _("Playlist crossfade") ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue