examples/view/xtemplate.html
authorAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 06:44:22 +0000 (14:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 06:44:22 +0000 (14:44 +0800)
examples/view/xtemplate.html

index 5652d47..aef83a5 100644 (file)
@@ -18,9 +18,11 @@ Roo.onReady(function() {
                 
                 '<tpl if="first_of_day * 1">' +   
                     '<li  class="change-log-day"><a ' +
-                       ' name="changedate-{changedate.format:(\'Y-m-d\')}">{changedate.format:(\'d / M / Y\')}</a></li>' +
+                       ' name="changedate-{changedate.format:('+
+                                "'Y-m-d'" + ')}">{changedate.format:('+
+                                "'d / M / Y'" + ')}</a></li>' +
                 '</tpl>' +
-                '</tpl>'
+            '</tpl>'
      
     });