Roo/form/ComboBoxArray.js
[roojs1] / roojs-core-debug.js
index 1804e45..7428e15 100644 (file)
@@ -1774,11 +1774,28 @@ Date.prototype.add = function(interval, value){
  * <script type="text/javascript">
  */
 
+/**
+ * @class Roo.lib.Dom
+ * @static
+ * 
+ * Dom utils (from YIU afaik)
+ * 
+ **/
 Roo.lib.Dom = {
+    /**
+     * Get the view width
+     * @param {Boolean} full True will get the full document, otherwise it's the view width
+     * @return {Number} The width
+     */
+     
     getViewWidth : function(full) {
         return full ? this.getDocumentWidth() : this.getViewportWidth();
     },
-
+    /**
+     * Get the view height
+     * @param {Boolean} full True will get the full document, otherwise it's the view height
+     * @return {Number} The height
+     */
     getViewHeight : function(full) {
         return full ? this.getDocumentHeight() : this.getViewportHeight();
     },
@@ -4633,7 +4650,7 @@ Roo.Template.prototype = {
                 _t.loading = false;
                 _t.html = response.responseText;
                 _t.url = false;
-                _this.compile();
+                _t.compile();
              },
             failure : function(response) {
                 Roo.log("Template failed to load from " + url);