Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added setTimeout to bios and bmc ondrop to allow for additional reset… #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions gateway/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,8 @@ function run_ci(servername, RemainingSecond) {
});
this.className = 'upload-drop-zone';
firmwarebmcuploaded =1;
startUploadbmc(e.dataTransfer.files)
// startUploadbmc(e.dataTransfer.files)
setTimeout(startUploadbmc, 2000, e.dataTransfer.files);
}
}

Expand Down Expand Up @@ -666,7 +667,8 @@ function run_ci(servername, RemainingSecond) {
});
this.className = 'upload-drop-zone';
firmwarebiosuploaded=1;
startUploadbios(e.dataTransfer.files)
// startUploadbios(e.dataTransfer.files)
setTimeout(startUploadbios, 2000, e.dataTransfer.files);
}
}

Expand Down Expand Up @@ -957,6 +959,7 @@ function mainpage(){
loadHTML("html/navbar.html");
$('#download_key_button').removeAttr("style");
loadJS("js/navbar.js");
navbarHover();
// pretty rudimentary I should probably keep this within the popUp function itself eventually
AckCookieName = "priv_key_ack"
if (( "string" === typeof(mylocalStorage['secretKey']) ) & ( "string" === typeof(mylocalStorage['accessKey']) ))
Expand Down