diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js
index a81899ed5..0e7e39fbe 100644
--- a/apps/common/main/lib/component/Button.js
+++ b/apps/common/main/lib/component/Button.js
@@ -162,19 +162,19 @@ define([
},
template: _.template([
+ '<% var applyicon = function() { %>',
+ '<% if (iconImg) { print(\'\'); } else %>',
+ '<% if (iconCls != "") { print(\' \'); } %>',
+ '<% } %>',
'<% if ( !menu ) { %>',
'',
'<% } else if (split == false) {%>',
'
',
'
',
@@ -182,9 +182,7 @@ define([
'<% } else { %>',
'
',
'',
'