From 3ac7de1c81d84eefbfefc3924b382c71920305b8 Mon Sep 17 00:00:00 2001 From: kunw Date: Wed, 18 May 2016 17:03:06 +0800 Subject: [PATCH] updates for reverting the order of buttons, and navigation-details action of UI. --- .../js/components/modal-dialog/modal-dialog.directive.html | 2 +- .../project-member/add-project-member.directive.html | 2 +- .../js/components/project/add-project.directive.html | 2 +- .../js/layout/navigation/navigation-details.directive.js | 4 ++-- .../system-management/system-management.controller.html | 2 +- views/ng/account-settings.htm | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/static/ng/resources/js/components/modal-dialog/modal-dialog.directive.html b/static/ng/resources/js/components/modal-dialog/modal-dialog.directive.html index 413b00513..403aa6345 100644 --- a/static/ng/resources/js/components/modal-dialog/modal-dialog.directive.html +++ b/static/ng/resources/js/components/modal-dialog/modal-dialog.directive.html @@ -8,8 +8,8 @@ diff --git a/static/ng/resources/js/components/project-member/add-project-member.directive.html b/static/ng/resources/js/components/project-member/add-project-member.directive.html index 79cf99dcc..55a226a17 100644 --- a/static/ng/resources/js/components/project-member/add-project-member.directive.html +++ b/static/ng/resources/js/components/project-member/add-project-member.directive.html @@ -24,8 +24,8 @@
- +
diff --git a/static/ng/resources/js/components/project/add-project.directive.html b/static/ng/resources/js/components/project/add-project.directive.html index 83686659e..7202199f4 100644 --- a/static/ng/resources/js/components/project/add-project.directive.html +++ b/static/ng/resources/js/components/project/add-project.directive.html @@ -19,8 +19,8 @@
- +
diff --git a/static/ng/resources/js/layout/navigation/navigation-details.directive.js b/static/ng/resources/js/layout/navigation/navigation-details.directive.js index 8313c68c8..0372f516f 100644 --- a/static/ng/resources/js/layout/navigation/navigation-details.directive.js +++ b/static/ng/resources/js/layout/navigation/navigation-details.directive.js @@ -61,11 +61,11 @@ }); element.find('a[tag*="' + visited + '"]').addClass('active'); - element.on('click', click); + element.find('a').on('click', click); function click(event) { element.find('a').removeClass('active'); - $(event.target).not('span').addClass('active'); + $(event.target).addClass('active'); ctrl.clickTab(); } diff --git a/static/ng/resources/js/layout/system-management/system-management.controller.html b/static/ng/resources/js/layout/system-management/system-management.controller.html index 6fb1e99c6..fec351f46 100644 --- a/static/ng/resources/js/layout/system-management/system-management.controller.html +++ b/static/ng/resources/js/layout/system-management/system-management.controller.html @@ -55,8 +55,8 @@
- +
diff --git a/views/ng/account-settings.htm b/views/ng/account-settings.htm index ac93d7a4b..80b5029d1 100644 --- a/views/ng/account-settings.htm +++ b/views/ng/account-settings.htm @@ -104,8 +104,8 @@
- +