diff --git a/client/app/main.controller.js b/client/app/main.controller.js index e5bcacf..d442efd 100755 --- a/client/app/main.controller.js +++ b/client/app/main.controller.js @@ -18,11 +18,8 @@ angular.module('dssWebApp') $rootScope.setCurrentUser(user); return $state.go(toState.name, toParams); }, function (reason) { - debugger; console.error(reason); }); - } else { - debugger; } }); $rootScope.safeApply = function (fn) { diff --git a/client/app/views/mixes/upload/upload.controller.js b/client/app/views/mixes/upload/upload.controller.js index 7e12ac5..eb5e0df 100755 --- a/client/app/views/mixes/upload/upload.controller.js +++ b/client/app/views/mixes/upload/upload.controller.js @@ -6,8 +6,10 @@ angular.module('dssWebApp') Session, MixModel, LoginService, ImageUploadService, SERVER_CONFIG, AUTH_EVENTS) { $scope.mix = mix; - $scope.waveformHeader = '(drag & drop or click & browse)'; + $scope.waveformHeader = + "" + + "Generating waveform, we'll try to let you know when it's done or send you an email."; $scope.waveformFooter = ''; $scope.sending = false; @@ -113,7 +115,7 @@ angular.module('dssWebApp') $scope.mix = result; $timeout(function () { var url = $state.href('root.user.mix', {user: $scope.mix.user.slug, mix: $scope.mix.slug}); - $scope.waveformFooter = "Your mix will be available Here"; + $scope.waveformFooter = "Your mix will be available Here"; $scope.$apply(); }, 6400); @@ -151,10 +153,8 @@ angular.module('dssWebApp') $scope.$apply(); }, complete: function (file) { + $scope.uploadState = uploadStates.AUDIO_SENT; if (file.status !== 'error') { - $scope.waveformHeader = - "" + - "Generating waveform, we'll try to let you know when it's done or send you an email."; $scope.uploadState = uploadStates.AUDIO_SENT; $scope.$apply(); _checkRedirect(); } else { @@ -171,4 +171,8 @@ angular.module('dssWebApp') $scope.genreSearchResults = results.data.results; }); }; + $('#waveform-status-info').pulsate({ + color: "#FCB322", + glow: true + }); }); \ No newline at end of file diff --git a/client/app/views/mixes/upload/upload.html b/client/app/views/mixes/upload/upload.html index 3482a5f..bbe5f0c 100755 --- a/client/app/views/mixes/upload/upload.html +++ b/client/app/views/mixes/upload/upload.html @@ -1,30 +1,34 @@