Skip to content
Permalink
Browse files
[JENKINS-31162] Unnecessary definition of data-root as HTML attribute
  • Loading branch information
recena committed Mar 22, 2016
1 parent 287537b commit 5cfed3d142072192f793e37db7b810d0dac26a1c
Showing 1 changed file with 2 additions and 3 deletions.
@@ -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>
@@ -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.