mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 06:54:58 +00:00
fix
This commit is contained in:
parent
7809e8ef03
commit
cfc883aab6
|
@ -290,7 +290,10 @@ if (typeof(token) !== "undefined") {
|
|||
OldBrowser.reload();
|
||||
};
|
||||
|
||||
//document.getElementById("btn_assign").onclick = assign;
|
||||
document.getElementById("btn_close").onclick = function() {
|
||||
OldBrowser.close();
|
||||
};
|
||||
|
||||
assign();
|
||||
} else {
|
||||
OldBrowser.setContent(FILE.readFile("app\\login.html", "utf-8"));
|
||||
|
|
|
@ -80,11 +80,12 @@
|
|||
|
||||
<div class="cell">
|
||||
<div class="col">
|
||||
<button id="btn_logout" class="button" type="button">로그아웃</button>
|
||||
<button id="btn_refresh" class="button" type="button">새로고침</button>
|
||||
<!--
|
||||
<button id="btn_pingtest" class="button" type="button">속도 재측정</button>
|
||||
<button id="btn_assign" class="button" type="button">IP 적용</button>
|
||||
-->
|
||||
<div class="float-left">
|
||||
<button id="btn_logout" class="button" type="button">로그아웃</button>
|
||||
<button id="btn_refresh" class="button" type="button">새로고침</button>
|
||||
</div>
|
||||
<div class="float-right">
|
||||
<button id="btn_close" class="button" type="button">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -232,3 +232,10 @@ exports.start = function(callback) {
|
|||
exports.reload = function() {
|
||||
window.location.reload();
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// exports.close()
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
exports.close = function() {
|
||||
exit(0);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user