Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions dist/jquery.bootgrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,9 @@
var css = this.options.css,
selector = getCssSelector(css.search),
searchItems = findFooterAndHeaderItems.call(this, selector);

if (searchItems.length > 0)

// allows for search field to be be disabled in the head by setting disabled: true in searchSettings
if ((searchItems.length > 0) && (!(this.options.searchSettings.disabled)))
{
var that = this,
tpl = this.options.templates,
Expand Down Expand Up @@ -2039,4 +2040,4 @@
// ============

$("[data-toggle=\"bootgrid\"]").bootgrid();
})(jQuery, window);
})(jQuery, window);