kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [47/50] incubator-kylin git commit: stopPropagation for actions on cube
Date Tue, 03 Mar 2015 10:29:01 GMT
stopPropagation for actions on cube


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

Branch: refs/heads/master
Commit: 698537bf16eafbce9e9bac81d7928ffaaad22a8b
Parents: 7f21f20
Author: jiazhong <jiazhong@ebay.com>
Authored: Tue Mar 3 16:11:56 2015 +0800
Committer: jiazhong <jiazhong@ebay.com>
Committed: Tue Mar 3 16:11:56 2015 +0800

----------------------------------------------------------------------
 webapp/app/partials/cubes/cubes.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/698537bf/webapp/app/partials/cubes/cubes.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/cubes/cubes.html b/webapp/app/partials/cubes/cubes.html
index 19fd7d1..0a9676a 100644
--- a/webapp/app/partials/cubes/cubes.html
+++ b/webapp/app/partials/cubes/cubes.html
@@ -106,7 +106,7 @@
             <td>{{ cube.owner}}</td>
             <td>{{ cube.create_time_utc | utcToConfigTimeZone}}</td>
             <td>
-                <div class="btn-group" ng-if="userService.hasRole('ROLE_ADMIN') || hasPermission(cube,
permissions.ADMINISTRATION.mask, permissions.MANAGEMENT.mask, permissions.OPERATION.mask)">
+                <div ng-click="$event.stopPropagation();" class="btn-group" ng-if="userService.hasRole('ROLE_ADMIN')
|| hasPermission(cube, permissions.ADMINISTRATION.mask, permissions.MANAGEMENT.mask, permissions.OPERATION.mask)">
                     <button type="button" class="btn btn-default btn-xs dropdown-toggle"
                             data-toggle="dropdown" ng-click="listAccess(cube, 'CubeInstance')">
                         Action <span class="ace-icon fa fa-caret-down icon-on-right"></span>
@@ -130,7 +130,7 @@
                 </span>
             </td>
             <td ng-if="userService.hasRole('ROLE_ADMIN')">
-                <div class="btn-group">
+                <div ng-click="$event.stopPropagation();" class="btn-group">
                     <button type="button" class="btn btn-default btn-xs dropdown-toggle"
data-toggle="dropdown" ng-click="listAccess(cube, 'CubeInstance')">
                         Action <span class="ace-icon fa fa-caret-down icon-on-right"></span>
                     </button>


Mime
View raw message