mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 06:27:59 +01:00
Cleaned up the code. Whoops :P
This commit is contained in:
parent
aa1f4181ce
commit
2c87852c66
2 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,7 @@ window.pfm.preloaders['admin-classifier'] = [
|
||||||
tracks.mainQuery.fromFilterString($state.params.filter)
|
tracks.mainQuery.fromFilterString($state.params.filter)
|
||||||
tracks.mainQuery.setPage $state.params.page || 1
|
tracks.mainQuery.setPage $state.params.page || 1
|
||||||
tracks.mainQuery.setAdmin true
|
tracks.mainQuery.setAdmin true
|
||||||
tracks.mainQuery.fetch(tracks.FetchType.ALL)
|
tracks.mainQuery.fetch(tracks.FetchType.UNCLASSIFIED)
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ module.exports = angular.module('ponyfm').directive 'pfmTrackEditor', () ->
|
||||||
albumsDb = {}
|
albumsDb = {}
|
||||||
|
|
||||||
$scope.$watch 'trackId', (newValue, oldValue) ->
|
$scope.$watch 'trackId', (newValue, oldValue) ->
|
||||||
console.log newValue, oldValue
|
|
||||||
$scope.updateUI()
|
$scope.updateUI()
|
||||||
|
|
||||||
$scope.selectAlbum = (album) ->
|
$scope.selectAlbum = (album) ->
|
||||||
|
|
Loading…
Reference in a new issue