Skip to content
Snippets Groups Projects
Commit 25820346 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

FileDelete.js: add event.preventDefault() to buttonClicked().

parent eab9f32a
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ var QfqNS = QfqNS || {};
};
n.FileDelete.prototype.buttonClicked = function (event) {
event.preventDefault();
var alert = new n.Alert("Do you want to delete the file?", "warning", "okcancel");
alert.on('alert.ok', function () {
this.performFileDelete(event);
......
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