Roo/HtmlEditorCore.js
authorAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:55:40 +0000 (15:55 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:55:40 +0000 (15:55 +0800)
Roo/HtmlEditorCore.js

index 7fc5ec0..59a5143 100644 (file)
@@ -1236,14 +1236,17 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         
         
     },
-    
+    /**
+     * iterateChildren of a Node, calling fn each time, using this as the scole..
+     *
+     */
     iterateChildren : function(node, fn)
     {
         if (!node.childNodes.length) {
                 return;
         }
         for (var i = node.childNodes.length-1; i > -1 ; i--) {
-           fn.call(this.node.childNodes[i])
+           fn.call(thisnode.childNodes[i])
         }
     },