From 2c87852c662ec7d2aeddd22a5f10f0edbe039f66 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Mon, 29 Aug 2016 23:12:01 +0100 Subject: [PATCH] Cleaned up the code. Whoops :P --- .../assets/scripts/app/controllers/admin-classifier.coffee | 2 +- resources/assets/scripts/app/directives/track-editor.coffee | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/assets/scripts/app/controllers/admin-classifier.coffee b/resources/assets/scripts/app/controllers/admin-classifier.coffee index 9fc8e685..fad40586 100644 --- a/resources/assets/scripts/app/controllers/admin-classifier.coffee +++ b/resources/assets/scripts/app/controllers/admin-classifier.coffee @@ -21,7 +21,7 @@ window.pfm.preloaders['admin-classifier'] = [ tracks.mainQuery.fromFilterString($state.params.filter) tracks.mainQuery.setPage $state.params.page || 1 tracks.mainQuery.setAdmin true - tracks.mainQuery.fetch(tracks.FetchType.ALL) + tracks.mainQuery.fetch(tracks.FetchType.UNCLASSIFIED) ) ] diff --git a/resources/assets/scripts/app/directives/track-editor.coffee b/resources/assets/scripts/app/directives/track-editor.coffee index 7686951c..54ea7c8e 100644 --- a/resources/assets/scripts/app/directives/track-editor.coffee +++ b/resources/assets/scripts/app/directives/track-editor.coffee @@ -34,7 +34,6 @@ module.exports = angular.module('ponyfm').directive 'pfmTrackEditor', () -> albumsDb = {} $scope.$watch 'trackId', (newValue, oldValue) -> - console.log newValue, oldValue $scope.updateUI() $scope.selectAlbum = (album) ->