Distinguish between Download (for remote disks/files) and Load (for local disks/files)
This commit is contained in:
parent
605146075b
commit
afc6c3cbd1
12 changed files with 17 additions and 15 deletions
|
|
@ -162,7 +162,7 @@ C1PSerialPort.prototype.setBinding = function(sHTMLClass, sHTMLType, sBinding, c
|
|||
};
|
||||
}
|
||||
else {
|
||||
if (DEBUG) this.log("FileReader support not available, Mount disabled");
|
||||
if (DEBUG) this.log("Local file support not available");
|
||||
control.parentNode.removeChild(control);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@
|
|||
<form class="{$APPCLASS}-{@class}" style="{$border}{$width}{$height}{$style}" data-value="{$type},{$binding}">
|
||||
<fieldset class="{$APPCLASS}-fieldset">
|
||||
<input type="file"/>
|
||||
<input type="submit" value="Mount" disabled="true"/>
|
||||
<input type="submit" value="Load" disabled="true"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</xsl:when>
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ FDC.prototype.setBinding = function(sHTMLClass, sHTMLType, sBinding, control)
|
|||
};
|
||||
}
|
||||
else {
|
||||
if (DEBUG) this.log("FileReader support not available, Mount disabled");
|
||||
if (DEBUG) this.log("Local file support not available");
|
||||
control.parentNode.removeChild(control);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@
|
|||
<form class="{$APPCLASS}-{@class}" data-value="{$type},{$binding}">
|
||||
<fieldset class="{$APPCLASS}-fieldset">
|
||||
<input type="file"/>
|
||||
<input type="submit" value="Mount" disabled="true"/>
|
||||
<input type="submit" value="Load" disabled="true"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</xsl:when>
|
||||
|
|
|
|||
Loading…
Reference in a new issue