https://bugzilla.wikimedia.org/show_bug.cgi?id=35524
Web browser: ---
Bug #: 35524
Summary: LQT add two spinners and makes two requests per click
on "Preview" button
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: ---
1) Go to
https://www.mediawiki.org/w/index.php?title=Extension_talk:LiquidThreads&lqt_method=talkpage_new_thread
and type some "text" on edit box.
2) Click preview. It will show a spinner and once the preview is complete, it
will be removed
3) Click preview again. There will be TWO spinners, and the extension will
submit TWO requests, and each spinner will be removed once one of the requests
is finished.
There should be only one spinner and only one request each time someone click
the preview button.
Google Chrome 17.0.963.83 shows something like this for each request:
----
XHR finished loading:
"https://www.mediawiki.org/w/index.php?title=Extension_talk:LiquidThreads&action=submit".
jQuery.ajaxTransport.sendload.php:121
jQuery.extend.ajaxload.php:115
jQuery.fn.extend.loadload.php:108
window.doLivePreviewpreview.js:31
window.liquidThreads.doLivePreviewload.php:8
jQuery.event.dispatchload.php:48
jQuery.event.add.elemData.handle.eventHandle
----
--
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