提交 c7e98823 编写于 作者: K Kohsuke Kawaguchi

Restored backward compatibility.

Up to b5843f3b, <t:ballColorTd> supported @iconSize="16x16" and so on that controls the color.
In the new scheme, it needs to be translated to iconSizeClass
上级 e8911ca3
......@@ -43,6 +43,10 @@ THE SOFTWARE.
<j:if test="${iconClassName == null}">
<j:set var="iconClassName" value="${icons.toNormalizedIconNameClass(it.image)}"/>
</j:if>
<!-- convert legacy @iconSize specification to @iconSizeClass -->
<j:if test="${iconSizeClass==null and attrs.iconSize!=null}">
<j:set var="iconSizeClass" value="${icons.toNormalizedIconSizeClass(attrs.iconSize)}"/>
</j:if>
<j:choose>
<j:when test="${iconClassName != null}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册