Sha256: d8832c2d09e644c9b7e9883c0b6b13ec1c6b4b8fa34eee9ee95d04df0770f3e5
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
/** Copyright 2014 Red Hat, Inc. This software is licensed to you under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (GPLv2) or (at your option) any later version. There is NO WARRANTY for this software, express or implied, including the implied warranties of MERCHANTABILITY, NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 along with this software; if not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. */ var filtertable = (function() { return { initialize : function() { var theTable = $('table.filter_table'); var filter = $('#filter'); filter.live('change, keyup', function(){ $.uiTableFilter(theTable, this.value); }); //override the submit so it doesn't try to push a form $('#filter_form').submit(function () { filter.keyup(); return false; }).focus(); //Give focus to input field $('.filter_button').click(function(){filter.change()}); } }; })(); $(document).ready(function() { // initialize the filter table filtertable.initialize(); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-2.2.2 | app/assets/javascripts/katello/widgets/filtertable/filtertable.js |