mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-20 18:27:11 +01:00
T335: Fix the inability to publish official song remixes in production.
This commit is contained in:
parent
03df4d1ec9
commit
6276f9b564
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ angular.module('ponyfm').controller "account-track", [
|
||||||
is_vocal: track.is_vocal
|
is_vocal: track.is_vocal
|
||||||
license_id: track.license_id
|
license_id: track.license_id
|
||||||
genre_id: track.genre_id
|
genre_id: track.genre_id
|
||||||
track_type_id: track.track_type_id
|
track_type_id: parseInt(track.track_type_id)
|
||||||
released_at: if track.released_at then track.released_at.date else ''
|
released_at: if track.released_at then track.released_at.date else ''
|
||||||
remove_cover: false
|
remove_cover: false
|
||||||
cover: track.cover_url
|
cover: track.cover_url
|
||||||
|
@ -144,4 +144,4 @@ angular.module('ponyfm').controller "account-track", [
|
||||||
$scope.$on '$locationChangeStart', (e) ->
|
$scope.$on '$locationChangeStart', (e) ->
|
||||||
return if !$scope.isDirty
|
return if !$scope.isDirty
|
||||||
e.preventDefault() if !confirm('Are you sure you want to leave this page without saving your changes?')
|
e.preventDefault() if !confirm('Are you sure you want to leave this page without saving your changes?')
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue