You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/03/13 00:26:15 UTC
[kylin] branch master updated: KYLIN-3280 The delete button should
not be enabled without any segment in cube segment delete confirm dialog
This is an automated email from the ASF dual-hosted git repository.
billyliu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new ef89806 KYLIN-3280 The delete button should not be enabled without any segment in cube segment delete confirm dialog
ef89806 is described below
commit ef89806e67145f771aedbb60585e2db05d42076e
Author: xingpeng1 <xi...@zte.com.cn>
AuthorDate: Tue Mar 13 08:26:13 2018 +0800
KYLIN-3280 The delete button should not be enabled without any segment in cube segment delete confirm dialog
---
webapp/app/partials/cubes/cube_delete_segment.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/app/partials/cubes/cube_delete_segment.html b/webapp/app/partials/cubes/cube_delete_segment.html
index 8500f3f..93356ee 100644
--- a/webapp/app/partials/cubes/cube_delete_segment.html
+++ b/webapp/app/partials/cubes/cube_delete_segment.html
@@ -83,7 +83,7 @@
<div class="modal-footer">
<button class="btn btn-primary" ng-click="cancel()">Close</button>
- <button class="btn btn-success" ng-click="deleteSegment()">Delete
+ <button class="btn btn-success" ng-click="deleteSegment()" ng-disabled="!(cube.segments && cube.segments.length > 0)">Delete
</button>
</div>
</script>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
billyliu@apache.org.