Skip to content

Commit

Permalink
Dev Reset datatype to JSON on edit or add (reverted from commit d3fab90)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 10, 2014
1 parent ea2d73b commit 04bd18a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/admin/participantdisplay.js
Expand Up @@ -604,12 +604,7 @@ $(document).ready(function() {
$.extend(jQuery.jgrid.edit,{
closeAfterAdd: true,
reloadAfterSubmit: true,
closeOnEspace:true,
beforeSubmit: function () {
// reset the datatype to JSON (loadonce:true sets it to local)
$(this).jqGrid("setGridParam", {datatype: "json"});
return [true,"",""];
}
closeOnEspace:true
});

//script for sharing of participants
Expand Down

0 comments on commit 04bd18a

Please sign in to comment.