]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed JS error in trashbin app
authorVincent Petry <pvince81@owncloud.com>
Sun, 1 Sep 2013 12:36:33 +0000 (14:36 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 13 Sep 2013 17:59:15 +0000 (19:59 +0200)
apps/files/js/files.js

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