https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7607

--- Comment #24 from David Cook <dc...@prosentient.com.au> ---
Comment on attachment 112912
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112912
Bug 7607: [Alternate] Remove empty inputs when submitting search form

Review of attachment 112912:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=7607&attachment=112912)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/js/staff-global.js
@@ +140,5 @@
> +            if( $(this).find('input[name="q"]').val() == "" ){
> +                $(this).remove();
> +                removedPrior = true;
> +            }
> +        });

I haven't tested the code but what about the idx? Wouldn't this code exacerbate
the problem?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to