Commit 76fa218e authored by Carsten  Rose's avatar Carsten Rose
Browse files

Prevent Default click handler on delete button.

parent 75598195
......@@ -28,6 +28,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