- Timestamp:
- May 27, 2010, 8:36:24 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/query/QueryController.groovy
r480 r482 2 2 3 3 import org.compass.core.engine.SearchEngineQueryParseException 4 5 import mytest.MyManager6 4 7 5 /* -
trunk/grails-app/domain/dbnp/studycapturing/TemplateFieldType.groovy
r397 r482 16 16 STRINGLIST('List of items'), 17 17 ONTOLOGYTERM('Ontology Reference'), 18 DATE('Date') 18 DATE('Date'), 19 RELDATE('Relative date') // relative date, e.g. days since start of study 19 20 20 21 String name … … 25 26 26 27 static list() { 27 [STRING, TEXT, INTEGER, FLOAT, DOUBLE, STRINGLIST, ONTOLOGYTERM, DATE ]28 [STRING, TEXT, INTEGER, FLOAT, DOUBLE, STRINGLIST, ONTOLOGYTERM, DATE, RELDATE] 28 29 } 29 30 … … 44 45 case DATE: 45 46 return null 47 case RELDATE: 48 return null 46 49 default: 47 50 throw new NoSuchFieldException("Field type ${fieldType} not recognized") -
trunk/grails-app/views/common/_topnav.gsp
r361 r482 13 13 </li> 14 14 <li> 15 <a href="#">Events</a>16 <ul class="subnav">17 <li><g:link controller="protocol" action="list">View protocols</g:link></li>18 <li><g:link controller="eventDescription" action="list">View event descriptions</g:link></li>19 </ul>20 </li>21 <li>22 15 <a href="#">Contacts</a> 23 16 <ul class="subnav"> … … 27 20 </ul> 28 21 </li> 29 22 <li> 23 <a href="#">Publications</a> 24 <ul class="subnav"> 25 <li><g:link controller="publication" action="list">View publications</g:link></li> 26 <li><g:link controller="publication" action="add">Add publication</g:link></li> 27 </ul> 28 </li> 30 29 <li><g:link controller="importer" action="index">Import data</g:link></li> 31 30 <g:if env="development"> -
trunk/web-app/js/topnav.js
r359 r482 1 1 $(document).ready(function(){ 2 2 $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*) 3 $("ul.topnav li span").click(function() { //When trigger is clicked...3 $("ul.topnav li").click(function() { //When trigger is clicked... 4 4 //Following events are applied to the subnav itself (moving subnav up and down) 5 $(this). parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click5 $(this).find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click 6 6 $(this).parent().hover(function() { 7 7 }, function(){
Note: See TracChangeset
for help on using the changeset viewer.