diff options
Diffstat (limited to 'templates/show_song_row.inc.php')
-rw-r--r-- | templates/show_song_row.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/show_song_row.inc.php b/templates/show_song_row.inc.php index 2685417b..3129b5d4 100644 --- a/templates/show_song_row.inc.php +++ b/templates/show_song_row.inc.php @@ -48,6 +48,9 @@ <?php if (Access::check('interface','75')) { ?> <?php echo Ajax::button('?action=show_edit_object&type=song&id=' . $song->id,'edit',_('Edit'),'edit_song_' . $song->id); ?> <?php $icon = $song->enabled ? 'disable' : 'enable'; ?> - <?php echo Ajax::button('?page=song&action=flip_state&song_id=' . $song->id,$icon,_(ucfirst($icon)),'flip_song_' . $song->id); ?> + <?php $row_btnFlipState = 'btnFlipState_' . $song_id; ?> + <span id="<?php echo($row_btnFlipState); ?>"> + <?php echo Ajax::button('?page=song&action=flip_state&song_id=' . $song->id,$icon,_(ucfirst($icon)),'flip_song_' . $song->id); ?> + </span> <?php } ?> </td> |