Skip to content

Commit 16888ee

Browse files
committed
Remove m3isms in filter form
1 parent d453bea commit 16888ee

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Build/CommonAssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
//
1616
// You can specify all the values or you can default the Revision and Build Numbers
1717
// by using the '*' as shown below:
18-
[assembly: AssemblyVersion("1.6.0")]
19-
[assembly: AssemblyFileVersion("1.6.0")]
18+
[assembly: AssemblyVersion("1.6.1")]
19+
[assembly: AssemblyFileVersion("1.6.1")]
2020
//[assembly: AssemblyInformationalVersion("1.4.5-editlyalpha2")]

Griddly/Scripts/griddly.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
event.preventDefault();
306306
}, this));
307307

308-
$("form .grid_searchreset", this.$element).on("click", $.proxy(function (event)
308+
$("form .griddly-search-reset", this.$element).on("click", $.proxy(function (event)
309309
{
310310
this.resetFilterValues();
311311
}, this));

Griddly/Views/Shared/Griddly/Griddly.cshtml

+2-3
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,15 @@
259259

260260
@helper RenderFormFilters(GriddlySettings settings)
261261
{
262-
<form class="filterForm novalidate form-horizontal">
262+
<form class="form-horizontal">
263263
@Html.Partial("Griddly/GriddlyFilterForm", settings)
264264

265265
<div class="form-group form-group-sm">
266266
<div class="col-sm-offset-2 col-sm-10">
267267
<button type="submit" class="btn btn-primary">Search</button>
268+
<button type="reset" class="btn btn-default griddly-search-reset">Reset</button>
268269
</div>
269270
</div>
270-
271-
<input type="hidden" name="query" value="true" />
272271
</form>
273272
}
274273

0 commit comments

Comments
 (0)