Skip to content

Commit 7a3a04f

Browse files
author
server
committed
Bug fixes
1 parent 9368bbc commit 7a3a04f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/pages/partial/player.html.slim

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
span ng-show='!song.editing' {{song.name}}
6464
|
6565
form ng-submit='finishEditing(song)' ng-show='song.editing' style='display: inline; width: 50%;'
66-
input.form-control ng-model='song.name' style='width: 70% !important; display: inline;'
66+
input.form-control ng-model='song.name' style='width: 70% !important; display: inline;' ng-click='song.dontgo = true'
6767
.col-xs-3
6868
span ng-show='song.editing'
6969
button.btn.btn-info ng-click='finishEditing(song)' Save
@@ -76,9 +76,9 @@
7676
li
7777
a href='javascript:void(0)' ng-click='playSong($index)' Play
7878
li
79-
a href='javascript:void(0)' ng-click='openAddToPlaylistModal([song], playlists)' Add to Playlist
79+
a href='javascript:void(0)' ng-click='song.dontgo=true;openAddToPlaylistModal([song], playlists)' Add to Playlist
8080
li
81-
a href='javascript:void(0)' ng-click='song.editing = true' Rename
81+
a href='javascript:void(0)' ng-click='song.dontgo=true;song.editing = true' Rename
8282
li.divider
8383
li
84-
a href='javascript:void(0)' ng-click='remove([song])' Remove
84+
a href='javascript:void(0)' ng-click='remove([song])' Remove

0 commit comments

Comments
 (0)