We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da31c84 commit 60d8f16Copy full SHA for 60d8f16
1 file changed
debug-db/src/main/assets/debugDbHome/js/dataTables.altEditor.free.js
@@ -348,8 +348,7 @@
348
that._emitEvent("update-row", [
349
JSON.stringify(data),
350
function(isUpdated) {
351
- //remove existing alert elements
352
- $('#altEditor-modal .modal-body .alert').remove();
+
353
354
//set error message and other properties based on whether update is successfull or not
355
var alertAdditionClasses = "alert-success";
@@ -378,6 +377,8 @@
378
377
dt.row({
379
selected: true
380
}).data(data);
+ //remove existing alert elements
381
+ $('#altEditor-modal').modal('hide');
382
}
383
$("#editRowBtn").removeClass('disabled');
384
$("#editRowBtn").text(editButtonCurrentText);
0 commit comments