Skip to content
Snippets Groups Projects
Commit 29b598fc authored by ale's avatar ale
Browse files

fixed playlistSave click action

parent e8f979f0
No related branches found
No related tags found
No related merge requests found
...@@ -69,11 +69,13 @@ djr.init = function () { ...@@ -69,11 +69,13 @@ djr.init = function () {
}); });
$('#playlistSave').click(function() { $('#playlistSave').click(function() {
if ( $('#saveForm').is(':visible') == false ) { if ( $('#saveForm').is(':visible') == false ) {
if (djr.playlist && djr.playlist.title) {
$('#savetext').val(djr.playlist.title); $('#savetext').val(djr.playlist.title);
$('#saveForm').show('slow'); }
$('#saveForm').show('fast');
} else { } else {
$('#savetext').val(''); $('#savetext').val('');
$('#saveForm').hide('slow'); $('#saveForm').hide('fast');
} }
}); });
$('#playlistSaveBtn').click(function() { $('#playlistSaveBtn').click(function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment