fix bug, that cannot pause the waiting tasks.

This commit is contained in:
MaysWind 2016-10-30 22:17:24 +08:00
parent 2d4286363e
commit 1ab3223629

View file

@ -61,7 +61,7 @@
<i class="fa fa-play"></i>
</a>
</li>
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('active')}">
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('active', 'waiting')}">
<a class="toolbar" title="{{'Pause' | translate}}" ng-click="changeTasksState('pause')">
<i class="fa fa-pause"></i>
</a>