Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2b68ce3e
提交
2b68ce3e
authored
8月 26, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
H2 Console: with Chrome and Safari, resizing the table/query frame doesn't work. Issue 225.
上级
d7721db1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
5 行删除
+15
-5
WebServer.java
h2/src/main/org/h2/server/web/WebServer.java
+2
-0
WebThread.java
h2/src/main/org/h2/server/web/WebThread.java
+8
-0
frame.jsp
h2/src/main/org/h2/server/web/res/frame.jsp
+5
-5
没有找到文件。
h2/src/main/org/h2/server/web/WebServer.java
浏览文件 @
2b68ce3e
...
@@ -202,6 +202,8 @@ public class WebServer implements Service {
...
@@ -202,6 +202,8 @@ public class WebServer implements Service {
session
.
put
(
"sessionId"
,
newId
);
session
.
put
(
"sessionId"
,
newId
);
session
.
put
(
"ip"
,
hostAddr
);
session
.
put
(
"ip"
,
hostAddr
);
session
.
put
(
"language"
,
DEFAULT_LANGUAGE
);
session
.
put
(
"language"
,
DEFAULT_LANGUAGE
);
session
.
put
(
"frame-border"
,
"0"
);
session
.
put
(
"frameset-border"
,
"4"
);
sessions
.
put
(
newId
,
session
);
sessions
.
put
(
newId
,
session
);
// always read the english translation,
// always read the english translation,
// so that untranslated text appears at least in english
// so that untranslated text appears at least in english
...
...
h2/src/main/org/h2/server/web/WebThread.java
浏览文件 @
2b68ce3e
...
@@ -260,6 +260,14 @@ class WebThread extends WebApp implements Runnable {
...
@@ -260,6 +260,14 @@ class WebThread extends WebApp implements Runnable {
}
else
if
(
lower
.
startsWith
(
"content-length"
))
{
}
else
if
(
lower
.
startsWith
(
"content-length"
))
{
len
=
Integer
.
parseInt
(
line
.
substring
(
line
.
indexOf
(
':'
)
+
1
).
trim
());
len
=
Integer
.
parseInt
(
line
.
substring
(
line
.
indexOf
(
':'
)
+
1
).
trim
());
trace
(
"len="
+
len
);
trace
(
"len="
+
len
);
}
else
if
(
lower
.
startsWith
(
"user-agent"
))
{
boolean
isWebKit
=
lower
.
indexOf
(
"webkit/"
)
>=
0
;
if
(
isWebKit
&&
session
!=
null
)
{
// workaround for what seems to be a WebKit bug:
// http://code.google.com/p/chromium/issues/detail?id=6402
session
.
put
(
"frame-border"
,
"1"
);
session
.
put
(
"frameset-border"
,
"2"
);
}
}
else
if
(
lower
.
startsWith
(
"accept-language"
))
{
}
else
if
(
lower
.
startsWith
(
"accept-language"
))
{
Locale
locale
=
session
==
null
?
null
:
session
.
locale
;
Locale
locale
=
session
==
null
?
null
:
session
.
locale
;
if
(
locale
==
null
)
{
if
(
locale
==
null
)
{
...
...
h2/src/main/org/h2/server/web/res/frame.jsp
浏览文件 @
2b68ce3e
...
@@ -12,13 +12,13 @@ Initial Developer: H2 Group
...
@@ -12,13 +12,13 @@ Initial Developer: H2 Group
<title>
${text.a.title}
</title>
<title>
${text.a.title}
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"stylesheet.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"stylesheet.css"
/>
</head>
</head>
<frameset
cols=
"*"
rows=
"36,*"
frameborder=
"
2"
framespacing=
"4"
border=
"4"
>
<frameset
cols=
"*"
rows=
"36,*"
frameborder=
"
1"
framespacing=
"4"
border=
"${frameset-border}"
bordercolor=
"white"
>
<frame
noresize=
"noresize"
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"header.jsp?jsessionid=${sessionId}"
name=
"header"
scrolling=
"no"
/>
<frame
noresize=
"noresize"
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"header.jsp?jsessionid=${sessionId}"
name=
"header"
scrolling=
"no"
/>
<frameset
cols=
"200,*"
rows=
"*"
frameborder=
"
2"
framespacing=
"4"
border=
"4"
>
<frameset
cols=
"200,*"
rows=
"*"
frameborder=
"
1"
framespacing=
"4"
border=
"${frameset-border}"
bordercolor=
"white"
>
<frame
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"tables.do?jsessionid=${sessionId}"
name=
"h2menu"
/>
<frame
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"tables.do?jsessionid=${sessionId}"
name=
"h2menu"
/>
<frameset
rows=
"180,*"
frameborder=
"
2"
framespacing=
"4"
border=
"4"
>
<frameset
rows=
"180,*"
frameborder=
"
1"
framespacing=
"4"
border=
"${frameset-border}"
bordercolor=
"white"
>
<frame
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"query.jsp?jsessionid=${sessionId}"
name=
"h2query"
scrolling=
"no"
/
>
<frame
frameborder=
"0"
marginheight=
"0"
marginwidth=
"0"
src=
"query.jsp?jsessionid=${sessionId}"
name=
"h2query"
scrolling=
"no"
>
<frame
frameborder=
"
0
"
marginheight=
"0"
marginwidth=
"0"
src=
"help.jsp?jsessionid=${sessionId}"
name=
"h2result"
/>
<frame
frameborder=
"
${frame-border}
"
marginheight=
"0"
marginwidth=
"0"
src=
"help.jsp?jsessionid=${sessionId}"
name=
"h2result"
/>
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论