summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-25 07:47:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-25 07:47:52 +0000
commitd6003655a9b266eeb20c15d53d77da873e9a6642 (patch)
tree60849827334171ebf4d50601416e91c3dd2e9f7b /templates
parent15f3664049d962820140bdf359a52dae5d143a0c (diff)
downloadampache-d6003655a9b266eeb20c15d53d77da873e9a6642.tar.gz
ampache-d6003655a9b266eeb20c15d53d77da873e9a6642.tar.bz2
ampache-d6003655a9b266eeb20c15d53d77da873e9a6642.zip
added new album option on song edit (Thx Picasso)
Diffstat (limited to 'templates')
-rw-r--r--templates/show_edit_song_row.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_edit_song_row.inc.php b/templates/show_edit_song_row.inc.php
index e3d1a89e..dcd41750 100644
--- a/templates/show_edit_song_row.inc.php
+++ b/templates/show_edit_song_row.inc.php
@@ -29,7 +29,9 @@
<?php show_artist_select('artist',$song->artist); ?>
</td>
<td>
- <?php show_album_select('album',$song->album); ?>
+ <?php show_album_select('album',$song->album,true,$song->id); ?>
+ <div id="album_select_song_<?php echo $song->id ?>"></div>
+<?php echo Ajax::observe('album_select_'.$song->id,'change','checkAlbum('.$song->id.')'); ?>
</td>
<td>
<?php show_genre_select('genre',$song->genre); ?>