Changeset 1792
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js
r1779 r1792 1925 1925 1926 1926 var next = segments.shift(); 1927 while ( next == undefined || next.length == 0)1927 while (segments.length > 0 && (next == undefined || next.length == 0)) 1928 1928 next = segments.shift(); // ignore empty path segments 1929 1929 var target; 1930 if (next == '.' ) // me1930 if (next == '.' || next == undefined || next.length == 0) // me 1931 1931 target = this; 1932 1932 else … … 2044 2044 2045 2045 /** 2046 * Gets the controls parent 2046 * Gets the controls parent. 2047 * This method returns undefined except for controls that actually have a parent 2048 * (See creation of child-controls in AbstractContainerControl). 2047 2049 * @return the parent control 2048 2050 * @type Control 2049 2051 */ 2050 Control.prototype.getParent = function(){ 2051 return this.lookupControl(".."); 2052 } 2052 Control.prototype.getParent = function(){ } 2053 2053 2054 2054 -
trunk/samples/kauri-forms-sample/src/main/kauri/pages/index.html.xml
r1784 r1792 81 81 <ul> 82 82 <li> 83 <a href="api.html">Sample introducing the API.</a> 84 </li> 85 <li> 83 86 <a href="events.html">Events</a> 84 87 </li>
Note: See TracChangeset
for help on using the changeset viewer.