Changes between Initial Version and Version 18 of Ticket #12882


Ignore:
Timestamp:
Mar 30, 2010, 5:12:36 AM (15 years ago)
Author:
Jannis Leidel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12882

    • Property Triage Stage UnreviewedAccepted
    • Property Cc ales.zoulek@… yed@… rob@… semente@… Gabriel Hurley added
    • Property Owner changed from nobody to Jannis Leidel
    • Property Status newassigned
    • Property Summary jQuery.noConflict() in admin brokes site specific code with jQueryjQuery.noConflict() in admin breaks site specific code with jQuery
  • Ticket #12882 – Description

    initial v18  
    1 JQuery javascipt included by django admin calls noConflict method ( http://api.jquery.com/jQuery.noConflict/ ). This method removes variable $ shortcut from javascript global namespace.
    2 Site specific code can include own jQuery code to enrich admin pages. In this case, commonly used variable $ is undefined and page is broken.
    3 
    4 (In addition to described major problem, jQuery can be included twice (one by django and one by site) causing problem with strip of jQuery plugins after redefinition and jQuery version is also enforced by admin)
    5 Please make deeper analysis next time before change with relationship to around code.
     1JQuery javascipt included by django admin calls noConflict method ( http://api.jquery.com/jQuery.noConflict/ ). This method removes variable $ shortcut from the global namespace.
     2Site specific code can include an own jQuery code to enrich admin pages. In this case, commonly used variable $ is undefined and page is broken.
Back to Top