##// END OF EJS Templates
Allow to set same mode as existing if load fails....
Allow to set same mode as existing if load fails. Setting the mode many times in a row, would fail to actually set the mode if it was failing to load the mode the first time. The prevent the above behavior by falling back **explicitly** to 'null' if mode does not exist yet, or can't be loaded. Also, don't set to null mode if mode have changed Or if kernel.js have changed the mode, we re-set it to null...

File last commit:

r20777:7d8283c1
r21195:1fe13404
Show More
altuploadform.less
26 lines | 437 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;
&.form
{
padding: 0;
margin:0;
}
input.fileinput
{
display: inline;
opacity: 0;
z-index: 2;
width: 12ex;
margin-right: -12ex;
}
.btn-upload {
height: @btn_mini_height;
}
}