Changeset 1670
- Timestamp:
- 12/12/07 17:55:50
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1669 r1670 944 944 <xsl:if test="normalize-space(form/xproperties/xproperty[@name='X-BEDEWORK-SUBMIT-COMMENT']/value) != ''"> 945 945 <script type="text/javascript"> 946 bwSubmitComment = new bwSubmitComment('<xsl:value-of select="form/xproperties/xproperty[@name='X-BEDEWORK-SUBMIT-COMMENT']/value"/>' ,'bwSubmittedEventComment');946 bwSubmitComment = new bwSubmitComment('<xsl:value-of select="form/xproperties/xproperty[@name='X-BEDEWORK-SUBMIT-COMMENT']/value"/>'); 947 947 </script> 948 948 … … 955 955 </div> 956 956 <script type="text/javascript"> 957 bwSubmitComment.display( );957 bwSubmitComment.display('bwSubmittedEventComment'); 958 958 </script> 959 959 </xsl:if> trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
r1669 r1670 241 241 /* An comment accompanying a submitted event 242 242 /* comment: the x-property string X-BEDEWORK-SUBMIT-COMMENT, tab delimited 243 * id: id of the div to be written to for display244 243 */ 245 function bwSubmitComment(comment ,displayId) {244 function bwSubmitComment(comment) { 246 245 var commentVals = comment.split('\t'); 247 246 this.locationAddress = commentVals[0]; … … 270 269 } 271 270 272 this.display = function( ) {271 this.display = function(displayId) { 273 272 var showComment = document.getElementById(displayId); 274 273 showComment.innerHTML = this.render();
