Updated code to fix jScript error
authorWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 4 Mar 2015 06:51:41 +0000 (12:21 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 4 Mar 2015 06:52:49 +0000 (12:22 +0530)
templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl
templates/CRM/Tag/Form/Tag.tpl

index 5368a8816af4dcb4afd441d8022d22a47febcab5..5b5077c8d52a3d396cf4111cadd98dd88bb324e2 100644 (file)
@@ -57,7 +57,7 @@
         highlightSelected();
       });
 
-      var childTag = {/literal}{$loadjsTree}{literal};
+      var childTag = "{/literal}{$loadjsTree}{literal}";
       if (childTag) {
         //load js tree.
         $("#tagtree").jstree({
index c616426250ed8542c2d4dd57c746e99ebf968ce8..f850cddc117801b55f2ac8dafaa9e5f6b5049f0b 100644 (file)
@@ -75,7 +75,7 @@
         highlightSelected();
         CRM.updateContactSummaryTags();
       });
-      var childTag = {/literal}{$loadjsTree}{literal};
+      var childTag = "{/literal}{$loadjsTree}{literal}";
       if (childTag) {
         //load js tree.
         $("#tagtree").jstree({