##// END OF EJS Templates
Fixed many edge cases in file uploads....
Fixed many edge cases in file uploads. When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).

File last commit:

r15077:cc0d4ae5
r17650:c2dd09a3
Show More
altuploadform.less
26 lines | 426 B | text/x-less | LessCssLexer
/* We need an invisible input field on top of the sentense*/
/* "Drag file onto the list ..." */
.alternate_upload
{
background-color:none;
display: inline;
}
.alternate_upload.form
{
padding: 0;
margin:0;
}
.alternate_upload input.fileinput
{
background-color:red;
position:relative;
opacity: 0;
z-index: 2;
width: 295px;
margin-left:163px;
cursor: pointer;
height: 26px;
}