Fixed JS error in trashbin app

This commit is contained in:
Vincent Petry 2013-09-01 14:36:33 +02:00
parent 3cf0820d35
commit 611075bf20
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ Files={
} }
}; };
$(document).ready(function() { $(document).ready(function() {
// FIXME: workaround for trashbin app
if (window.trashBinApp){
return;
}
Files.displayEncryptionWarning(); Files.displayEncryptionWarning();
Files.bindKeyboardShortcuts(document, jQuery); Files.bindKeyboardShortcuts(document, jQuery);