Changeset 7631
- Timestamp:
- 04/29/09 13:58:03 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
head/ambra/webapp/src/main/webapp/javascript/init_article.js
r7469 r7631 188 188 _annotationForm.noteType.value = _annotationForm.cNoteType.value; 189 189 190 if (_annotationForm.competingInterest[0].checked == true) { 191 _annotationForm.ciStatement.value = ""; 192 } 193 190 194 dojo.xhrPost({ 191 195 url: _namespace + "/annotation/secure/createAnnotationSubmit.action", … … 229 233 dojo.fx.wipeIn({ node:submitMsg.id, duration: 500 }).play(); 230 234 ambra.formUtil.enableFormFields(_annotationForm); 235 236 if (_annotationForm.competingInterest[0].checked == true) { 237 _annotationForm.ciStatementArea.disabled = true; 238 } else { 239 _annotationForm.ciStatementArea.disabled = false; 240 } 241 231 242 _annotationDlg.placeModalDialog(); 232 243 } … … 324 335 _annotationForm.competingInterest[1].checked = false; 325 336 337 _annotationForm.ciStatementArea.disabled = true; 338 326 339 // create it 327 340 ambra.annotation.createNewAnnotation();
