migrate jQuery.fn.unload()

This commit is contained in:
Christoph Wurst 2016-04-19 12:05:09 +02:00
parent 59e268763c
commit 37530f27f0
No known key found for this signature in database
GPG Key ID: FEECD2543CA6EAF0
1 changed files with 1 additions and 1 deletions

View File

@ -2862,7 +2862,7 @@ $(document).ready(function() {
OCA.Files.FileList.lastAction();
}
});
$(window).unload(function () {
$(window).on('unload', function () {
$(window).trigger('beforeunload');
});