This is an automated email from the ASF dual-hosted git repository. dill0wn pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 84185a2687791c016471b84a5b8a49abbb414811 Author: Guillermo Cruz <[email protected]> AuthorDate: Fri Aug 19 14:11:33 2022 -0600 [#8453] more fixes --- Allura/allura/lib/widgets/discuss.py | 2 +- ForgeImporters/forgeimporters/github/templates/project.html | 2 +- ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Allura/allura/lib/widgets/discuss.py b/Allura/allura/lib/widgets/discuss.py index 8a6dc86a0..1917e0590 100644 --- a/Allura/allura/lib/widgets/discuss.py +++ b/Allura/allura/lib/widgets/discuss.py @@ -242,7 +242,7 @@ class SubscriptionForm(ew.SimpleForm): def resources(self): yield from super().resources() yield ew.JSScript(''' - $(window).load(function () { + $(window).on('load', function () { $('tbody').children(':even').addClass('even'); });''') diff --git a/ForgeImporters/forgeimporters/github/templates/project.html b/ForgeImporters/forgeimporters/github/templates/project.html index c1d4b5da2..5c957f0a0 100644 --- a/ForgeImporters/forgeimporters/github/templates/project.html +++ b/ForgeImporters/forgeimporters/github/templates/project.html @@ -92,7 +92,7 @@ </div> </div> <script> - $(window).load(function() { + $(window).on('load', function() { function name(str) { return str ? str.replace(/^\W+|\.git$/g, '') : null; diff --git a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js index b5a0e4412..5c0a3f687 100644 --- a/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js +++ b/ForgeTracker/forgetracker/widgets/resources/js/ticket-list.js @@ -82,7 +82,7 @@ $ele.html($ele.html().replace(/columns-(.*?)\./g, 'columns-'+i+'.')) }); } - }).disableSelection(); + }); $('.ticket-list th[data-filter-toggle]').click(function(event) { event.stopPropagation();
