id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 7528,Summit comment button hanging in firefox 3,Peter,osimons,"I seem to have an issues with using the AddCommentMacro plugin with trac 0.12 under Firefox. When I click on the AddComment button the page does not get refreshed and Firefox seems to be waiting for data. The problem just seems to be related to the page refresh since the comment does get added to the wiki. Using Internet explorer everything works as expected. As a temporary fix I commented out the following code in macro.py... {{{ # We can't redirect from macro as it will raise RequestDone # which like other macro errors gets swallowed in the Formatter. # We need to re-raise it in a post_process_request instead. #try: # self.env.log.debug( # ""AddComment saved - redirecting to: %s"" % page_url) # req._outheaders = [] # req.redirect(page_url) #except RequestDone: # req.addcomment_raise = True }}} and inserted this below the above code... {{{ the_preview = tag.div(heading, format_to_html(self.env, context, comment), class_=""wikipage"", id=""preview"") the_message = tag.div(tag.strong(""Comment appended.""),class_=""system-message"") comment="""" }}} Thanks",defect,new,normal,AddCommentMacro,normal,,,,0.12