equal
deleted
inserted
replaced
44 |
44 |
45 //forms |
45 //forms |
46 gICommentForm['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px') ; |
46 gICommentForm['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px') ; |
47 changeFormFieldsWidth(gICommentForm['formId'], iCommentWidth) ; |
47 changeFormFieldsWidth(gICommentForm['formId'], iCommentWidth) ; |
48 |
48 |
|
49 //toc |
|
50 //For some reasons: gToc['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px'); |
|
51 // does not work when the div.c-toc has a fixed position. |
|
52 document.getElementsByClassName('c-toc')[0].style.width = iCommentWidth + 'px'; |
|
53 |
49 if (gNewReply) |
54 if (gNewReply) |
50 changeFormFieldsWidth(gNewReply['ids']['formId'], iCommentWidth) ; |
55 changeFormFieldsWidth(gNewReply['ids']['formId'], iCommentWidth) ; |
51 if (gEdit) |
56 if (gEdit) |
52 changeFormFieldsWidth(gEdit['ids']['formId'], iCommentWidth) ; |
57 changeFormFieldsWidth(gEdit['ids']['formId'], iCommentWidth) ; |
53 } |
58 } |