Fix ts() usage in activityView() popup.
authorMathieu Lutfy <mathieu@bidon.ca>
Mon, 4 Mar 2013 19:53:01 +0000 (14:53 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Mon, 4 Mar 2013 19:53:01 +0000 (14:53 -0500)
templates/CRM/common/activityView.tpl

index bd54246e1ac397c6c2955d23629f172ca1c4b409..2932bd2347fdb1b8175c564ff4aa8f99c000f901 100644 (file)
@@ -33,7 +33,7 @@ function {/literal}{$list}{literal}viewActivity( activityID, contactID, list ) {
     cj("#view-activity" + list ).show( );
 
     cj("#view-activity" + list ).dialog({
-        title: "View Activity",
+        title: {/literal}{ts escape="js"}View Activity{/ts}{literal}",
         modal: true,
         width : "680px", // don't remove px
         height: "560",
@@ -56,7 +56,7 @@ function {/literal}{$list}{literal}viewActivity( activityID, contactID, list ) {
         },
 
         buttons: {
-            "Done": function() {
+            "{/literal}{ts escape="js"}Done{/ts}{literal}": function() {
                 cj(this).dialog("destroy");
             }
         }