https://bugzilla.wikimedia.org/show_bug.cgi?id=35642

       Web browser: ---
             Bug #: 35642
           Summary: [SF] User must be prevented from uploading until
                    JavaScript finishes loading
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10361
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10361
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to