Ignore:
Timestamp:
12/05/11 14:58:27 (13 years ago)
Author:
fpvanagthoven
Message:
  • Wat assorted questionEditor fixes. Probleem met resetting form fields gefixt, was het gebruik van innerHTML dat roet in het eten gooide. Nu een aparte label style en class gegeven aan de text labels, nu is het prima te doen.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/questionEditor.php

    r175 r176  
    2020                <div id="questionEditor">
    2121                    <div id="questionEditor_header">
    22                         Editing: #QUESTION-IDENT-NO
     22                        Editing: <span id="header_identifier">#QUESTION-IDENT-NO</span>
    2323                    </div>
    2424                    <div id="questionEditor_content">
    2525                        <h2>Question text:</h2>
    2626                        <div id="questionEditor_bodyText">
    27                             <textarea id="questionEditor_bodyText_textArea">THIS IS THE QUESTION BODY TEXT. CLICK HERE TO EDIT!</textarea>
     27                            <textarea id="questionEditor_bodyText_textArea" onKeyUp="resizeTextArea();">THIS IS THE QUESTION BODY TEXT. CLICK HERE TO EDIT!</textarea>
    2828                        </div>
    2929                        <div id="questionEditor_questionParams" >
    30                             Answer type:
     30                            <label for="questionIdentifierField" class="formLineBreak">Question tag:</label> <input type="text" id="questionIdentifierField" class="questionParamField" onChange="updateIdentifier();" />
     31
     32                            <label for="questionType" class="formLineBreak">Answer type:</label>
    3133                            <select id="questionType" onChange="selectAnswerType();" class="questionParamField">
    3234                                <option value=""></option>
     
    3638                                <option value="text">Text</option>
    3739                            </select>
    38                            
    39                            
     40
     41
     42
    4043                        </div>
    4144                    </div>
    4245                    <div id="questionEditor_controls">
    43                         <input type="button" value="Discard" />
     46                        <input type="button" id="discard" value="Discard" />
    4447                        <input type="button" value="Save" />
    4548                    </div>
Note: See TracChangeset for help on using the changeset viewer.