Commit fb4bb7f5 by bergquist

fix(playlist): remove start button from edit page

parent 1da1849d
...@@ -109,10 +109,6 @@ ...@@ -109,10 +109,6 @@
<button type="button" <button type="button"
class="btn btn-success" class="btn btn-success"
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()" ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"
ng-click="startPlaylist(playlist, dashboards)">Start</button>
<button type="button"
class="btn btn-success"
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"
ng-click="savePlaylist(playlist, playlistItems)">Save</button> ng-click="savePlaylist(playlist, playlistItems)">Save</button>
<button type="button" <button type="button"
class="btn btn-default" class="btn btn-default"
......
...@@ -98,10 +98,6 @@ function (angular, config, _) { ...@@ -98,10 +98,6 @@ function (angular, config, _) {
return !$scope.playlist.id; return !$scope.playlist.id;
}; };
$scope.startPlaylist = function(playlist, dashboards) {
playlistSrv.start(dashboards, playlist.timespan);
};
$scope.isPlaylistEmpty = function() { $scope.isPlaylistEmpty = function() {
return !$scope.playlistItems.length; return !$scope.playlistItems.length;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment