summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_artist_row.inc.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-09 01:35:50 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-09 01:35:50 +0000
commitb95a7b1ecc22abeddb786105e6b9cb1417fd2735 (patch)
tree2847bbd9b370f50379082f4c60fea8b37e139ce6 /templates/show_edit_artist_row.inc.php
parenta22acbd014dae01d10639779777819d630e85b40 (diff)
downloadampache-b95a7b1ecc22abeddb786105e6b9cb1417fd2735.tar.gz
ampache-b95a7b1ecc22abeddb786105e6b9cb1417fd2735.tar.bz2
ampache-b95a7b1ecc22abeddb786105e6b9cb1417fd2735.zip
I should have done it this way in the first place, instead of that ugly
show_playlist_full_row hack.
Diffstat (limited to 'templates/show_edit_artist_row.inc.php')
-rw-r--r--templates/show_edit_artist_row.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/show_edit_artist_row.inc.php b/templates/show_edit_artist_row.inc.php
index 341f4b9e..d8e925f8 100644
--- a/templates/show_edit_artist_row.inc.php
+++ b/templates/show_edit_artist_row.inc.php
@@ -29,9 +29,8 @@
</td>
<td>
<input type="hidden" name="id" value="<?php echo $artist->id; ?>" />
- <input type="hidden" name="type" value="artist" />
- <?php echo Ajax::button('?action=edit_object&id=' . $artist->id . '&type=artist','download',_('Save Changes'),'save_artist_' . $artist->id,'edit_artist_' . $artist->id); ?>
- <?php echo Ajax::observe('edit_artist_' . $artist->id,'submit',Ajax::action('?action=edit_object&id=' . $artist->id . '&type=artist','edit_artist_' . $artist->id,'edit_artist_' . $artist->id),1); ?>
+ <input type="hidden" name="type" value="artist_row" />
+ <?php echo Ajax::button('?action=edit_object&id=' . $artist->id . '&type=artist_row','download',_('Save Changes'),'save_artist_' . $artist->id,'edit_artist_' . $artist->id); ?>
</tr>
</table>