mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Completely replaced the inline edition by dialog edition.
Add autocomplete for tags. Directplay added on Radio and Smart Playlists. Many code style fixed. Removed all defined size (need to do that into CSS if needed). Fixed other bugs found around..
This commit is contained in:
parent
1eb5bef9ab
commit
aca49c658d
63 changed files with 1120 additions and 1346 deletions
|
@ -93,17 +93,4 @@ function reloadUtil(target) {
|
|||
// Send them elsewhere
|
||||
function reloadRedirect(target) {
|
||||
window.location = target;
|
||||
}
|
||||
|
||||
// This is kind of ugly. Let's not mess with it too much.
|
||||
function check_inline_song_edit(type, song) {
|
||||
var source = '#' + type + '_select_' + song;
|
||||
if ($(source + ' option:selected').val() == -1) {
|
||||
$(source).replaceWith('<input type="text" name="' + type + '_name" value="New ' + type + '" onclick="this.select();" />');
|
||||
|
||||
if (type == 'album') {
|
||||
$(source).replaceWith('<label for="year">Year</label><input type="text" name="year" id="year" size="5" /><label for="disk">Disk #</label><input type="text" name="disk" id="disk" size="3" />');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue