examples/view/xtemplate.html
authorAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 07:51:11 +0000 (15:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 07:51:11 +0000 (15:51 +0800)
examples/view/xtemplate.html

index 444da8b..98da55b 100644 (file)
@@ -16,7 +16,7 @@ Roo.onReady(function() {
        html : '<tpl for="parray">' + 
                 '<li>{pa.format:("Y-m-d")}</li>' +
                 
-                '<tpl if="typeof(first_of_day) != \'undefined\' &&  first_of_day * 1">' +   
+                '<tpl if="typeof(first_of_day) != ' + "'undefined'" + ' &&  first_of_day * 1">' +   
                     '<li  class="change-log-day"><a ' +
                        ' name="changedate-{changedate.format:('+
                                 "'Y-m-d'" + ')}">{changedate.format:('+