--- a/src/cm/media/js/site/c_text_view_comments_to_frame.js Thu May 10 14:20:10 2012 +0200
+++ b/src/cm/media/js/site/c_text_view_comments_to_frame.js Fri May 11 12:00:40 2012 +0200
@@ -46,6 +46,11 @@
gICommentForm['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px') ;
changeFormFieldsWidth(gICommentForm['formId'], iCommentWidth) ;
+ //toc
+ //For some reasons: gToc['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px');
+ // does not work when the div.c-toc has a fixed position.
+ document.getElementsByClassName('c-toc')[0].style.width = iCommentWidth + 'px';
+
if (gNewReply)
changeFormFieldsWidth(gNewReply['ids']['formId'], iCommentWidth) ;
if (gEdit)