fix(playlist): remove start button from edit page

This commit is contained in:
bergquist
2016-01-12 08:14:35 +01:00
parent 1da1849de6
commit fb4bb7f53e
2 changed files with 0 additions and 8 deletions

View File

@@ -106,10 +106,6 @@
<div class="pull-left" style="margin-top: 25px;">
<!-- <div class="tight-form"> -->
<button type="button"
class="btn btn-success"
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"
ng-click="startPlaylist(playlist, dashboards)">Start</button>
<button type="button"
class="btn btn-success"
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"

View File

@@ -98,10 +98,6 @@ function (angular, config, _) {
return !$scope.playlist.id;
};
$scope.startPlaylist = function(playlist, dashboards) {
playlistSrv.start(dashboards, playlist.timespan);
};
$scope.isPlaylistEmpty = function() {
return !$scope.playlistItems.length;
};