Last modified: 2012-08-05 20:46:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 35524 - LQT add two spinners and makes two requests per click on "Preview" button
LQT add two spinners and makes two requests per click on "Preview" button
Status: RESOLVED DUPLICATE of bug 26290
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-27 16:37 UTC by Helder
Modified: 2012-08-05 20:46 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2012-03-27 16:37:15 UTC
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
----
Comment 1 Helder 2012-08-05 20:46:03 UTC

*** This bug has been marked as a duplicate of bug 26290 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links