webdav portal upload ie +ff fix

This commit is contained in:
vfedosevich 2015-02-19 06:43:37 -08:00
parent a516f04367
commit cc16aca8d0
2 changed files with 11 additions and 2 deletions

View file

@ -69,6 +69,15 @@ $(document).click(function(event) {
}
});
$('#drag-and-drop-area').click(function (e) {
$('#file-input').click();
});
$('#drag-and-drop-area #file-input').click(function (e) {
e.stopPropagation();
});
function isMobileDevice() {
return (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
}