Changeset 214

Show
Ignore:
Timestamp:
26-02-10 11:52:38 (4 years ago)
Author:
duh
Message:

- timepicker did not show correctly on initial show due to the fact that the show animation wasn't over when resizing was performed, hence using an incorrect datepicker width. Now calling resize method AFTER show animation has finished
- improved eventDescription feedback

Location:
trunk
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_eventDescriptions.gsp

    r213 r214  
    1919                <span class="title">Describe all unique event types that occur in your study</span> 
    2020                These unique events are, for example, treatments, challenges and sampling events. Every event description 
    21                 should be unique. If your study, for example, samples both blood as well as tissue, then create two sample 
    22                 descriptions. One for 'sampling blood', and one for 'sampling tissue'. 
     21                should be unique. If your study, for example, samples both blood as well as tissue on one or more subjects, 
     22                then create two sample descriptions. One for 'sampling blood', and one for 'sampling tissue'. 
     23        </span> 
     24 
     25        <span class="info"> 
     26                <span class="title">Note!</span> 
     27                Currently 'classification' display all terms because there is no way to machine interpret 
     28                the different values. So please -for now- make sure to pick the Ontology reference applicable for 
     29                events until this particular challenge is solved. 
    2330        </span> 
    2431 
    2532        <wizard:termElement name="classification" description="Classification" error="classification" value="${values?.classification}"> 
    26                 The classification 
     33                The ontology reference for this particular type of event 
    2734        </wizard:termElement> 
    2835        <wizard:textFieldElement name="name" description="Name" error="name" value="${values?.name}"> 
  • trunk/web-app/js/timepicker-0.2.1.js

    r134 r214  
    217217        } 
    218218 
    219         this.resize(); 
    220  
    221         $('#' + this._mainDivId).show(); 
     219        // timepicker did not show correctly on initial show due to the fact 
     220        // that the show animation wasn't over when resizing was performed, 
     221        // hence using an incorrect datepicker width. Now calling resize method 
     222        // AFTER show animation has finished 
     223        var that = this; 
     224        $('#' + this._mainDivId).show('slow',function() { 
     225            that.resize(); 
     226        }); 
    222227 
    223228        this._visible = true;