提交 114c566b 编写于 作者: V Vincent Latombe 提交者: Kohsuke Kawaguchi

Use relative path to validate new view name (in order to allow

ViewGroups like NestedView to override)
上级 fa5686cd
......@@ -55,6 +55,8 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=bug>
Validate new view name relative to current context
<li class=rfe>
Improved the URL hyperlinking behavior in the console output
(<a href="https://github.com/jenkinsci/jenkins/pull/119">pull request #119</a>)
......
......@@ -33,7 +33,7 @@ THE SOFTWARE.
<l:main-panel>
<f:form method="post" action="createView" name="createView">
<f:entry title="${%View name}">
<f:textbox id="name" name="name" checkUrl="'${rootURL}/viewExistsCheck?value='+encodeURIComponent(this.value)"
<f:textbox id="name" name="name" checkUrl="'viewExistsCheck?value='+encodeURIComponent(this.value)"
onchange="updateOk(this.form)" onkeyup="updateOk(this.form)" />
<script>
$('name').focus();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册