Skip to content

Commit

Permalink
[JENKINS-31162] Unnecessary definition of data-root as HTML attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 22, 2016
1 parent 287537b commit 5cfed3d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/main/resources/hudson/model/View/newJob.jelly
Expand Up @@ -33,15 +33,14 @@ THE SOFTWARE.

<l:js src="jsbundles/add-item.js" />
<l:css src="jsbundles/config-scrollspy.css" />

<st:include page="sidepanel.jelly" />
<l:main-panel>
<j:invokeStatic var="jobs" className="hudson.model.Items" method="all">
<j:arg type="hudson.model.ItemGroup" value="${it.ownerItemGroup}"/>
</j:invokeStatic>

<s:form method="post" action="${attrs.action?:'createItem'}" name="createItem">
<div id="j-add-item-form-data" data-root="${rootURL}/"></div>

<j:if test="${!empty(app.itemMap)}">
<s:block>
Expand All @@ -66,7 +65,7 @@ THE SOFTWARE.
</s:bottomButtonBar>

</s:form>

</l:main-panel>
</l:layout>
</j:jelly>

0 comments on commit 5cfed3d

Please sign in to comment.