Skip to content
Snippets Groups Projects
Commit a2c8b171 authored by juanf's avatar juanf
Browse files

SSDM-2895 : New Warning box for the eln, applied on the trash can view.

SVN: 35294
parent 69d21432
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,7 @@ function TrashManagerView(trashManagerController, trashManagerModel) { ...@@ -182,7 +182,7 @@ function TrashManagerView(trashManagerController, trashManagerModel) {
// //
var deleteAllBtn = $("<a>", { "class" : "btn btn-primary", "style" : "margin-top: 10px;"}).append("Empty Trash"); var deleteAllBtn = $("<a>", { "class" : "btn btn-primary", "style" : "margin-top: 10px;"}).append("Empty Trash");
deleteAllBtn.click(function() { deleteAllBtn.click(function() {
Util.showWarning("Are you sure you want to empty the whole trashcan?", function() { Util.showWarning("All entities will be deleted permanently. Are you sure?", function() {
_this._trashManagerController.emptyTrash(); _this._trashManagerController.emptyTrash();
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment