From bb0164c9fc968497f0e294c29f7efde50e2c9945 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 5 Nov 2012 18:42:44 +0100 Subject: [PATCH] fix file delete in opera - fixes #188 --- apps/files/js/filelist.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index f08e412921..ae92a3f1ee 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -375,4 +375,7 @@ $(document).ready(function(){ FileList.lastAction(); } }); + $(window).unload(function (){ + $(window).trigger('beforeunload'); + }); });