cancel disable button feature at job refresh page

Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/6afeafcf
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/6afeafcf
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/6afeafcf

Branch: refs/heads/master
Commit: 6afeafcf31ce8244b23672bea7897b649d3a2a1f
Parents: 61c6288
Author: Jason <[email protected]>
Authored: Tue Mar 22 15:59:38 2016 +0800
Committer: Jason <[email protected]>
Committed: Tue Mar 22 16:00:11 2016 +0800

----------------------------------------------------------------------
 webapp/app/partials/jobs/job_refresh.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/6afeafcf/webapp/app/partials/jobs/job_refresh.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/jobs/job_refresh.html 
b/webapp/app/partials/jobs/job_refresh.html
index aa8f930..e3f452f 100644
--- a/webapp/app/partials/jobs/job_refresh.html
+++ b/webapp/app/partials/jobs/job_refresh.html
@@ -92,8 +92,7 @@
 
     <div class="modal-footer">
         <button class="btn btn-primary" ng-click="cancel()">Close</button>
-        <button class="btn btn-success" ng-click="rebuild()"
-                ng-disabled="!(jobBuildRequest.startTime >= 0 && 
jobBuildRequest.endTime > 0)">Submit
+        <button class="btn btn-success" ng-click="rebuild()">Submit
         </button>
     </div>
 </script>

Reply via email to