mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 23:14:36 +01:00
Merge branch 'master' of https://github.com/Andoryuuta/Erupe
This commit is contained in:
@@ -18,7 +18,6 @@ function checkAuthResult() {
|
||||
}
|
||||
|
||||
$(function() {
|
||||
|
||||
// Login form submission.
|
||||
$("#loginform").submit(function(e){
|
||||
e.preventDefault();
|
||||
@@ -34,12 +33,13 @@ $(function() {
|
||||
|
||||
checkAuthResult();
|
||||
});
|
||||
|
||||
$("#btn_config").click(function() {
|
||||
|
||||
// Config button.
|
||||
$("#configButton").click(function(){
|
||||
try{
|
||||
window.external.openMhlConfig();
|
||||
} catch(e){
|
||||
createErrorAlert("Error on openMhlConfig: " + e);
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
@@ -57,13 +57,13 @@
|
||||
<input type="password" class="form-control" id="password" placeholder="Password">
|
||||
</div>
|
||||
<button id="submitButton" type="submit" class="btn btn-primary">Submit</button>
|
||||
<button id="btn_config" class="btn btn-primary">Config</button>
|
||||
<button id="configButton" class="btn btn-secondary">Config</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user