configured binary download URL
This commit is contained in:
@@ -651,6 +651,7 @@
|
||||
<script src="../public_js/bower_components/select2/dist/js/select2.min.js"></script>
|
||||
<script src="../public_js/utils/date_utils.js"></script>
|
||||
<script src="../public_js/utils/url_parser.js"></script>
|
||||
<script src="../public_js/utils/view_utils.js"></script>
|
||||
<script src="../public_js/chinese/await.js"></script>
|
||||
<script src="../public_js/chinese/chinese.js"></script>
|
||||
<script type="text/javascript" src="js/constants.js"></script>
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
* 2017-03-27
|
||||
*/
|
||||
|
||||
var CODE_TABLE_PADDING = 320;
|
||||
|
||||
var id = "";
|
||||
var token = "";
|
||||
var client = null;
|
||||
@@ -124,7 +126,7 @@ function loadRemoteList(isSearch, remoteMap) {
|
||||
method: 'get',
|
||||
url: url,
|
||||
cache: false,
|
||||
height: 600,
|
||||
height: getViewPortHeight() - CODE_TABLE_PADDING,
|
||||
pagination: true,
|
||||
pageSize: 50,
|
||||
pageList: [10, 25, 50, 100, 200],
|
||||
|
||||
@@ -49,7 +49,7 @@ function downloadBin() {
|
||||
}
|
||||
downloadURL = '/irext/int/download_remote_index?remote_index_id='+selectedRemote.id+'&admin_id='+id+'&token='+token;
|
||||
|
||||
if (null != client && client == 'console') {
|
||||
if (null != client && client === 'console') {
|
||||
// directly download binary to remote via serial port
|
||||
} else {
|
||||
window.open(
|
||||
|
||||
Reference in New Issue
Block a user