浏览代码

Update data-value in updated dom-element

Artem Rizhenkov 10 年之前
父节点
当前提交
29c6726613
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/extensions/editable/bootstrap-table-editable.js

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

@@ -81,6 +81,7 @@
                         row = data[index],
                         oldValue = row[column.field];
 
+                    $(this).data('value', params.submitValue);
                     row[column.field] = params.submitValue;
                     that.trigger('editable-save', column.field, row, oldValue, $(this));
                 });