mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 15:02:11 +00:00
Bug 960730 - Rewrite inline script / style in devtools/framework/connect/connect.xhtml. r=bgrins
This commit is contained in:
parent
2a291799d7
commit
b2c8067146
@ -37,6 +37,10 @@ window.addEventListener("DOMContentLoaded", function onDOMReady() {
|
||||
document.getElementById("port").value = port;
|
||||
}
|
||||
|
||||
let form = document.querySelector("#connection-form form");
|
||||
form.addEventListener("submit", function() {
|
||||
window.submit();
|
||||
});
|
||||
}, true);
|
||||
|
||||
/**
|
||||
|
@ -19,7 +19,7 @@
|
||||
<body>
|
||||
<h1>&header;</h1>
|
||||
<section id="connection-form">
|
||||
<form validate="validate" onsubmit="window.submit()" action="#">
|
||||
<form validate="validate" action="#">
|
||||
<label>
|
||||
<span>&host;</span>
|
||||
<input required="required" class="devtools-textinput" id="host" type="text"></input>
|
||||
|
Loading…
x
Reference in New Issue
Block a user