Skip to content

Commit

Permalink
allow to use other values of type attribute if input elements
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegKi committed Nov 22, 2015
1 parent 4b34e60 commit 7fc02e5
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 78 deletions.
2 changes: 1 addition & 1 deletion js/grid.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Dual licensed under the MIT and GPL licenses
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
* Date: 2015-11-20
* Date: 2015-11-22
*/
//jsHint options
/*jshint evil:true, eqeqeq:false, eqnull:true, devel:true */
Expand Down
3 changes: 3 additions & 0 deletions js/grid.formedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,9 @@
}
}
break;
default:
postdata[nm] = $(this).val();
break;
}
// REMARK: to be exactly one should call htmlEncode LATER and to use validation and unformatting of unencoded data!!
if (p.autoencode) { postdata[nm] = jgrid.htmlEncode(postdata[nm]); }
Expand Down

0 comments on commit 7fc02e5

Please sign in to comment.