Pre Merge pull request !193 from 青衫/master
This commit is contained in:
commit
80fe418304
|
|
@ -622,7 +622,8 @@ 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();
|
||||||
if (table.options.type == table_type.bootstrapTable) {
|
$("#" + currentId).find('select').val('').trigger('change');
|
||||||
|
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');
|
||||||
} else{
|
} else{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue