You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by sk...@apache.org on 2018/06/08 13:36:08 UTC
syncope git commit: [SYNCOPE-1297] Fix unexpected scroll-to-top after
clicking 'select all' + other checkbox buttons
Repository: syncope
Updated Branches:
refs/heads/2_0_X d9905b4a3 -> 7e1bd363a
[SYNCOPE-1297] Fix unexpected scroll-to-top after clicking 'select all' + other checkbox buttons
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/7e1bd363
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/7e1bd363
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/7e1bd363
Branch: refs/heads/2_0_X
Commit: 7e1bd363ae7322c3574fe9e0bf70fec3e326bc73
Parents: d9905b4
Author: skylark17 <ma...@tirasa.net>
Authored: Fri Jun 8 12:05:26 2018 +0200
Committer: skylark17 <ma...@tirasa.net>
Committed: Fri Jun 8 12:05:26 2018 +0200
----------------------------------------------------------------------
.../syncope/client/console/panels/AjaxDataTablePanel.html | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/7e1bd363/client/console/src/main/resources/org/apache/syncope/client/console/panels/AjaxDataTablePanel.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/AjaxDataTablePanel.html b/client/console/src/main/resources/org/apache/syncope/client/console/panels/AjaxDataTablePanel.html
index 78c2d31..fb204e2 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/AjaxDataTablePanel.html
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/AjaxDataTablePanel.html
@@ -40,5 +40,12 @@ under the License.
<table class="ui-widget ui-widget-content table-hover" wicket:id="dataTable">[DataTable]</table>
</wicket:fragment>
+ <script type="text/javascript">
+ var elem = $('.dataTable form table th.checkGroupColumn, .dataTable form table td.checkGroupColumn')
+ if (elem)
+ elem.off('click.resetScroll').on('click.resetScroll', function (event) {
+ event.stopPropagation()
+ })
+ </script>
</wicket:panel>
</html>