From 97ee005462881dd3dbb2a8addbb087ea1f7edb3d Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Thu, 29 Oct 2015 14:23:32 -0400 Subject: [PATCH] cloudsuite: avoid uncaught TypeError FileList is not loaded with documents application, so when upload file avoid uncaught TypeError --- js/documents.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/documents.js b/js/documents.js index 79264144..9e87fc80 100644 --- a/js/documents.js +++ b/js/documents.js @@ -704,6 +704,9 @@ FileList.getCurrentDirectory = function(){ return $('#dir').val() || '/'; }; +FileList.highlightFiles = function(files, highlightFunction) { +}; + $(document).ready(function() { documentsMain.docs = $('.documentslist').documentGrid(); documentsMain.overlay = $('
').documentOverlay();