cloudsuite: avoid uncaught TypeError

FileList is not loaded with documents application, so when upload
file avoid uncaught TypeError
pull/1/head
Henry Castro 9 years ago
parent 9a7c739661
commit 97ee005462

@ -704,6 +704,9 @@ FileList.getCurrentDirectory = function(){
return $('#dir').val() || '/';
};
FileList.highlightFiles = function(files, highlightFunction) {
};
$(document).ready(function() {
documentsMain.docs = $('.documentslist').documentGrid();
documentsMain.overlay = $('<div id="documents-overlay" class="icon-loading"></div><div id="documents-overlay-below" class="icon-loading-dark"></div>').documentOverlay();

Loading…
Cancel
Save