Pre Merge pull request !207 from Yifu/master
This commit is contained in:
commit
688387ab09
|
|
@ -619,6 +619,7 @@ var table = {
|
||||||
table.set(tableId);
|
table.set(tableId);
|
||||||
var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId;
|
var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId;
|
||||||
$("#" + currentId)[0].reset();
|
$("#" + currentId)[0].reset();
|
||||||
|
$("#" + currentId + " input[type='hidden']").val("");
|
||||||
if (table.options.type == table_type.bootstrapTable) {
|
if (table.options.type == table_type.bootstrapTable) {
|
||||||
if($.common.isEmpty(tableId)){
|
if($.common.isEmpty(tableId)){
|
||||||
$("#" + table.options.id).bootstrapTable('refresh');
|
$("#" + table.options.id).bootstrapTable('refresh');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue