Changes between Initial Version and Version 18 of Ticket #12882


Ignore:
Timestamp:
03/30/2010 05:12:36 AM (10 years ago)
Author:
Jannis Leidel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12882

    • Property Status changed from new to assigned
    • Property Cc ales.zoulek@… yed@… rob@… semente@… Gabriel Hurley added
    • Property Summary changed from jQuery.noConflict() in admin brokes site specific code with jQuery to jQuery.noConflict() in admin breaks site specific code with jQuery
    • Property Owner changed from nobody to Jannis Leidel
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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