Browse Source

Merge pull request #1992 from dabros/patch-7

fix(editable extension): call to `resetFooter` after save
wenzhixin 10 years ago
parent
commit
35bc768c91
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/extensions/editable/bootstrap-table-editable.js

+ 1 - 0
src/extensions/editable/bootstrap-table-editable.js

@@ -104,6 +104,7 @@
                     $(this).data('value', params.submitValue);
                     $(this).data('value', params.submitValue);
                     row[column.field] = params.submitValue;
                     row[column.field] = params.submitValue;
                     that.trigger('editable-save', column.field, row, oldValue, $(this));
                     that.trigger('editable-save', column.field, row, oldValue, $(this));
+                    that.resetFooter();
                 });
                 });
             that.$body.find('a[data-name="' + column.field + '"]').editable(column.editable)
             that.$body.find('a[data-name="' + column.field + '"]').editable(column.editable)
                 .off('shown').on('shown', function (e, editable) {
                 .off('shown').on('shown', function (e, editable) {