Last modified: 2014-02-12 23:38:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37642, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35642 - [SF] User must be prevented from uploading until JavaScript finishes loading
[SF] User must be prevented from uploading until JavaScript finishes loading
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-02 02:19 UTC by badon
Modified: 2014-02-12 23:38 UTC (History)
0 users

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


Attachments
video of clicking the upload link before JS loads in Opera (149.73 KB, video/x-ms-wmv)
2012-04-02 02:19 UTC, badon
Details

Description badon 2012-04-02 02:19:57 UTC
Created attachment 10361 [details]
video of clicking the upload link before JS loads in Opera

If the user tries to upload a file before SF's JavaScript fully loads, the upload will succeed, but the uploaded file will be "lost", as described here:

http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Upload_not_inserting_images_into_forms

In short, semantic data can't be applied if the user clicks the upload link before the JavaScript fully loads, because the upload popup displays full-page instead of as a popup.

The solution to Bug 32424 might also solve this problem. Basically, the upload field and link should only be shown in certain circumstances. By using JS to display the link, the user will have to wait for the JS to load before they can use it.

I tested this bug in Opera and Google Chrome. I was able to duplicate it in Opera, but not in Chrome. A short video screen capture is attached.

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


Navigation
Links