summaryrefslogtreecommitdiffstats
path: root/templates/show_duplicates.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_duplicates.inc.php')
-rw-r--r--templates/show_duplicates.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/show_duplicates.inc.php b/templates/show_duplicates.inc.php
index 73e48dc3..89837a6f 100644
--- a/templates/show_duplicates.inc.php
+++ b/templates/show_duplicates.inc.php
@@ -50,12 +50,13 @@
foreach ($songs as $key=>$song_id) {
$song = new Song($song_id);
$song->format();
- $row_key = 'duplicate_' . $song_id;
+ $row_key = 'duplicate_' . $song_id;
+ $row_btnFlipState = 'btnFlipState_' . $song_id;
$current_class = ($key == '0') ? 'row-highlight' : flip_class();
$button = $song->enabled ? 'disable' : 'enable';
?>
<tr id="<?php echo $row_key; ?>" class="<?php echo $current_class; ?>">
- <td class="cel_disable">
+ <td class="cel_disable" id="<?php echo($row_btnFlipState); ?>">
<?php echo Ajax::button('?page=song&action=flip_state&song_id=' . $song_id,$button,_(ucfirst($button)),'flip_state_' . $song_id); ?>
</td>
<td class="cel_song"><?php echo $song->f_link; ?></td>