Bug 33322: (QA follow-up) Add comment to clarify selector context
authorNick Clemens <nick@bywatersolutions.com>
Wed, 29 Mar 2023 14:32:21 +0000 (14:32 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 16:41:38 +0000 (18:41 +0200)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt

index f343ff9..bb1efb0 100644 (file)
                     $("." + target).toggle();
                 });
 
+                // Note: the selector below passes a second 'context' param - it is not a multiple selector
                 $("button[type='submit']", "#suggestions_batch_ops").on("click", function(e) {
                     var submit_button = this;
                     var form = $(submit_button).parents("form");