mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
10 lines
No EOL
298 B
Text
10 lines
No EOL
298 B
Text
remove_deleted_note();
|
|
set_page_badge(<%=@down_count%>);
|
|
page_notify('notice', "<%= t('notes.deleted_note', :id => @note.id)%>", 5);
|
|
|
|
function remove_deleted_note() {
|
|
$('div#note-<%=@note.id%>-wrapper').slideUp(1000,
|
|
function() {
|
|
$('div#note-<%=@note.id%>-wrapper').remove();
|
|
});
|
|
} |