From 57c35f7ca182839c47fbcee91922f2ce7972d931 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 16 Mar 2017 14:38:12 +0300 Subject: [PATCH] [Common] debug button --- apps/common/main/lib/component/Button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js index 0e7e39fbe..5ad4511c2 100644 --- a/apps/common/main/lib/component/Button.js +++ b/apps/common/main/lib/component/Button.js @@ -163,8 +163,8 @@ define([ template: _.template([ '<% var applyicon = function() { %>', - '<% if (iconImg) { print(\'\'); } else %>', - '<% if (iconCls != "") { print(\' \'); } %>', + '<% if (iconImg) { print(\'\'); } else { %>', + '<% if (iconCls != "") { print(\' \'); }} %>', '<% } %>', '<% if ( !menu ) { %>', '