Commit 25820346 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

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

parent eab9f32a
......@@ -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);
......
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