You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ch...@apache.org on 2018/01/24 06:45:02 UTC

[3/3] kylin git commit: KYLIN-3181 The submit button status of refreshing cube is not suitable when the start time is equal or more than the end time.

KYLIN-3181 The submit button status of refreshing cube is not suitable when the start time is equal or more than the end time.

Signed-off-by: chenzhx <ch...@apache.org>


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

Branch: refs/heads/master
Commit: 6791327d5a444d0acb2099b3396c30df03ef9396
Parents: 8547011
Author: peng.jianhua <pe...@zte.com.cn>
Authored: Fri Jan 19 11:16:40 2018 +0800
Committer: chenzhx <ch...@apache.org>
Committed: Wed Jan 24 14:44:53 2018 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/6791327d/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 074406e..83242ae 100644
--- a/webapp/app/partials/jobs/job_refresh.html
+++ b/webapp/app/partials/jobs/job_refresh.html
@@ -88,7 +88,7 @@
 
     <div class="modal-footer">
         <button class="btn btn-primary" ng-click="cancel()">Close</button>
-        <button class="btn btn-success" ng-click="rebuild()">Submit
+        <button class="btn btn-success" ng-click="rebuild()" ng-disabled="!(jobBuildRequest.startTime >= 0 && jobBuildRequest.endTime > 0 && jobBuildRequest.startTime < jobBuildRequest.endTime)">Submit
         </button>
     </div>
 </script>