Skip to content

Commit

Permalink
typo fixed - omit_default_label
Browse files Browse the repository at this point in the history
  • Loading branch information
vedmack committed Mar 2, 2016
1 parent 04fd9dd commit a510f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 0.9.0 still in beta (grab latest stable from https://github.com/vedmack/yadcf/releases)

* Fixed autocomplete with dt in ajax source https://github.com/vedmack/yadcf/issues/282
* New option, ommit_default_label - Prevent yadcf from adding "default_label" (Select value / Select values)
* New option, omit_default_label - Prevent yadcf from adding "default_label" (Select value / Select values)



Expand Down
8 changes: 4 additions & 4 deletions jquery.dataTables.yadcf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Yet Another DataTables Column Filter - (yadcf)
*
* File: jquery.dataTables.yadcf.js
* Version: 0.9.0.beta.8 (grab latest stable from https://github.com/vedmack/yadcf/releases)
* Version: 0.9.0.beta.9 (grab latest stable from https://github.com/vedmack/yadcf/releases)
*
* Author: Daniel Reznick
* Info: https://github.com/vedmack/yadcf
Expand Down Expand Up @@ -122,7 +122,7 @@
Default value: Select value
Description: The label that will appear in the select menu filter when no value is selected from the filter
* ommit_default_label
* omit_default_label
Required: false
Type: boolean
Default value: false
Expand Down Expand Up @@ -527,7 +527,7 @@ var yadcf = (function ($) {
datepicker_type: 'jquery-ui',
range_data_type: 'single',
range_data_type_delim: '-',
ommit_default_label: false
omit_default_label: false
},
adaptContainerCssClassImpl = function (dummy) { return ''; };

Expand Down Expand Up @@ -2424,7 +2424,7 @@ var yadcf = (function ($) {

if (columnObj.filter_type === "select" || columnObj.filter_type === 'custom_func' || columnObj.filter_type === "multi_select" || columnObj.filter_type === 'multi_select_custom_func') {
if (columnObj.data_as_is !== true) {
if (columnObj.ommit_default_label !== true) {
if (columnObj.omit_default_label !== true) {
if (columnObj.filter_type === "select" || columnObj.filter_type === 'custom_func') {
options_tmp = "<option value=\"" + "-1" + "\">" + filter_default_label + "</option>";

Expand Down

0 comments on commit a510f78

Please sign in to comment.