Commit 231f8baa authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

QfqRecordList.js: Show timed success dialog when deleting.

parent b14b00cb
......@@ -54,7 +54,7 @@ if (!QfqNS) {
/**
*
* @param originatingEvent
* @param $recordElement
* @param data
* @param textStatus
* @param jqXHR
......@@ -88,8 +88,10 @@ if (!QfqNS) {
alert.show();
}
$recordElement.fadeOut(400, function () {
var info = new QfqNS.Alert("Record successfully deleted", "info");
info.timeout = 1500;
info.show();
$recordElement.fadeOut(function () {
$recordElement.remove();
});
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment