diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-09 01:35:50 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-09 01:35:50 +0000 |
commit | b95a7b1ecc22abeddb786105e6b9cb1417fd2735 (patch) | |
tree | 2847bbd9b370f50379082f4c60fea8b37e139ce6 /templates/show_edit_artist_row.inc.php | |
parent | a22acbd014dae01d10639779777819d630e85b40 (diff) | |
download | ampache-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.php | 5 |
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> |