One simple solution would be to do it in javascript.
You create a button doing nothing, you put a class in it, and your run that code in a html snippet (with jquery enabled) :
$('.mybutton').click(function(){
window.location.replace("login.html");
});
“sign-in in new tab” sounds like a side-effect or a bug. So the best way is to report this issue to Mendix.
To be honest, I don’t understand why a mix of jQuery with native javascript is a good solution to solve your issue. If this javascript snippet loads before the html button, you’ll get an error (not possible to add the click event to a non-existing element).
For now, in my opinion it’s more easy, readable and maintainable to create a simple link button to navigate to the login page. No custom code if there’s no need.
Hi Tim Van,
One simple solution would be to do it in javascript.
You create a button doing nothing, you put a class in it, and your run that code in a html snippet (with jquery enabled) :
$('.mybutton').click(function(){
window.location.replace("login.html");
});