1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-17 14:51:37 +02:00

Add type=submit to search

See https://github.com/barryvdh/laravel-debugbar/pull/224 by @barryvanveen
> Create button with type="submit" so Bootlint doesn't thrown an W007-error (https://github.com/twbs/bootlint/wiki/W007)
This commit is contained in:
Barry vd. Heuvel
2014-11-10 16:34:48 +01:00
parent c94b481528
commit ab83de1d66

View File

@@ -77,6 +77,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
var self = this;
var searchBtn = $('<button />')
.text('Search')
.attr('type', 'submit')
.on('click', function(e) {
self.$table.empty();
var search = {};