Ignore:
Timestamp:
2010-02-23 11:25:55 (2 years ago)
Author:
freya
Message:

set public uri of static resources needed in datecontrol in headerlinks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/templates/snippet/headerlinks.xml

    r1400 r1443  
    7171          })(jQuery); 
    7272]]></script> 
     73 
     74    <!--  configure static resource Uri for date control --> 
     75    <script type="text/javascript"> 
     76        (function(\$){ 
     77            var staticResourceUri = "${publicUri('service:/main/static/')}"; 
     78<![CDATA[    
     79            var kf = $.org.kauriproject.forms; 
     80            var controlDef = kf.controlTypes.get("date-control"); 
     81            controlDef.prototype.staticResourceUri = staticResourceUri; 
     82          })(jQuery); 
     83]]></script> 
     84 
    7385</t:if> 
Note: See TracChangeset for help on using the changeset viewer.