Skip to content

Commit

Permalink
added hidden submit button to fix #109
Browse files Browse the repository at this point in the history
  • Loading branch information
Eitan Blumin committed Apr 6, 2019
1 parent 58053b7 commit a682e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AdminLTE/datatable_respite_crud.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ class respite_crud {
body.append($('<input type="hidden" name="postback" value="true" />'))
.append($('<input type="hidden" name="DT_RowId" value="" />').val(respite_crud.row.DT_RowId))
.append($('<input type="hidden" name="mode" value="add" />').val(mode))
.append($('<input type="submit" autofocus style="position:absolute; left:-9999px; width:0px; height:0px;" />'));

new BstrapModal(
title, body.clone().wrap('<div>').parent().html(), buttons,
Expand Down

0 comments on commit a682e57

Please sign in to comment.