cloudsuite: avoid uncaught TypeError
FileList is not loaded with documents application, so when upload file avoid uncaught TypeError
This commit is contained in:
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…
x
Reference in New Issue
Block a user