提交 d21a63e3 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix multi-line statements

上级 5407f9ee
...@@ -478,9 +478,6 @@ function submitSelected() { ...@@ -478,9 +478,6 @@ function submitSelected() {
</script> </script>
</head> </head>
<body onresize="sizeTextArea();" onload="sizeTextArea();" style="margin: 0px; padding: 0px;"> <body onresize="sizeTextArea();" onload="sizeTextArea();" style="margin: 0px; padding: 0px;">
<form name="h2querysubmit" method="post" action="query.do?jsessionid=${sessionId}" target="h2result" style="display:none">
<input type="text" id="sql" name="sql"/>
</form>
<form name="h2query" action="javascript:alert('should not be submitting this form');"> <form name="h2query" action="javascript:alert('should not be submitting this form');">
<span style="white-space:nowrap"> <span style="white-space:nowrap">
<input type="button" class="button" value="${text.toolbar.run}" onclick="javascript:submitAll();sql.focus();return true;" /> <input type="button" class="button" value="${text.toolbar.run}" onclick="javascript:submitAll();sql.focus();return true;" />
...@@ -494,5 +491,8 @@ function submitSelected() { ...@@ -494,5 +491,8 @@ function submitSelected() {
<textarea id="sql" name="sql" cols="80" rows="5" onkeydown="return keyDown(event)" onkeyup="return keyUp(event)" <textarea id="sql" name="sql" cols="80" rows="5" onkeydown="return keyDown(event)" onkeyup="return keyUp(event)"
onfocus="keyUp()" onchange="return keyUp()">${query}</textarea> onfocus="keyUp()" onchange="return keyUp()">${query}</textarea>
</form> </form>
<form name="h2querysubmit" method="post" action="query.do?jsessionid=${sessionId}" target="h2result" style="display:none">
<textarea id="sql" name="sql" style="display:none"></textarea>
</form>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论