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

       Web browser: ---
             Bug #: 33922
           Summary: mediawiki.action.edit.js tries to get DOM elements
                    before DOM-ready
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


When I tried to test a patch for bug 33711 I ran into strange problems which I
could solve only by disabling the edit toolbar. Some callback functions hooked
on jQuery.ready were not executed.
Now after looking into the source code of mediawiki.action.edit.js I think the
problem could originate there:
The code tries to get $( '#wpTextbox1' ), $( '#toolbar' ) and $( '#wpSummary' )
right at the beginning, though it should wait for jQuery.ready before doing so.
I don't know if this caused my problems, but fixing it is a good idea anyway.

-- 
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

Reply via email to