Roo/View.js
authorEdward <edward@roojs.com>
Tue, 23 Dec 2014 06:15:00 +0000 (14:15 +0800)
committerEdward <edward@roojs.com>
Tue, 23 Dec 2014 06:15:00 +0000 (14:15 +0800)
Roo/View.js

index 5d39381..dfd16a5 100644 (file)
@@ -286,7 +286,7 @@ Roo.extend(Roo.View, Roo.util.Observable, {
                     t.apply(data)
             );
             
-            html[html.length] = Roo.util.Format.trim(
+            html[html.length-1] = Roo.util.Format.trim(
                     t.apply({'roo-id' : Roo.id()})
             );
         }