https://bugzilla.wikimedia.org/show_bug.cgi?id=35547
Web browser: ---
Bug #: 35547
Summary: LQT comments are not displayed after editing them
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: LiquidThreads
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
After doing this edit:
https://www.mediawiki.org/w/index.php?title=Thread%3AExtension_talk%3AGeoGebra%2FMoving_to_code_repository%2Freply&diff=516577&oldid=516576
I got the following error on Google Chrome 17.0.963.83:
----
Uncaught TypeError: Cannot read property 'content' of undefined
window.liquidThreads.doReloadThread load.php:18
jQuery.Callbacks.fire load.php:14
jQuery.Callbacks.self.fireWith load.php:15
done load.php:112
jQuery.ajaxTransport.send.callback
----
When the error happened the following line of code was selected in the [Script]
tab:
'<div class="mw-ajax-loader"/>');var
header=$j('#lqt-header-'+threadId);thread.prepend(loader);var
apiReq={'action':'query','list':'threads','thid':threadId,'format':'json','thrender':1};$j.get(mw.util.wikiScript('api'),apiReq,function(data){var
html=data.query.threads[threadId].content;var
newContent=$j(html);thread.empty();thread.hide();header.empty();header.hide();var
newThread=newContent.filter('div.lqt_thread');var
newThreadContent=newThread.contents();thread.append(newThreadContent);thread.attr('class',newThread.attr('class'));thread.find('.lqt-post-wrapper').each(function(){liquidThreads.setupThread($j(this));});header.fadeIn();thread.fadeIn();var
targetOffset=$j(thread).offset().top;$j('html,body').animate({scrollTop:targetOffset},'slow');},'json');},'setupThread':function(threadContainer){var
prefixLength="lqt_thread_id_".length;$parentWrapper=$j(threadContainer).closest('.lqt-thread-wrapper').parent().closest('.lqt-thread-wrapper');if($parentWrapper.next('.lqt-thread-wrapper'
Uncaught TypeError: Cannot read property 'content' of undefined
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l