Changeset 1576


Ignore:
Timestamp:
2010-06-29 07:23:32 (3 years ago)
Author:
freya
Message:

small bugfixes to get advanced-sontrols sample get back to working

Location:
trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js

    r1575 r1576  
    17961796           var parent = this.getParent(); 
    17971797           var parentId = ""; 
     1798           var id = ""; 
     1799            
    17981800           if (parent)  
    17991801               parentId = parent.getGroupId(); 
    1800            var id = null; 
    1801            if(!parent.groupChildrenInLayoutIndex) 
     1802                
     1803           if(parent == undefined || !parent.groupChildrenInLayoutIndex) 
    18021804               id = $.concatPath(parentId, this.getId()); 
    18031805           else  
    18041806               id = $.concatPath(parentId, "#"); 
     1807        
    18051808           this._groupId = id; 
    18061809       } 
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/date.js

    r1508 r1576  
    338338 
    339339            var options = { 
    340                 dateFormat: type['user-format'].pattern, 
     340                dateFormat: (type['user-format']) ? type['user-format'].pattern : undefined, 
    341341                buttonImage: this.staticResourceUri + "/img/1x1t.gif", // the image will actually be set with css so just pass a dummy img src 
    342342                buttonText: "Choose a date", 
Note: See TracChangeset for help on using the changeset viewer.