MMBase

Components x:includes should not include jquery.js

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.4
  • Component/s: Component Framework

Activity

André van Toly made changes - 2010-05-26 15:21
Field Original Value New Value
Description When including for example both:

    <xi:include href="http://www.mmbase.org/components/validation.head.xml" />

and

    <xi:include href="http://www.mmbase.org/components/widgets.head.xml" />

in your block, the jquery script gets included twice. I think it should just be documented in a comment in the x:included that you need to include 'jquery.head..xml' in your block to prevent it including twice.
When including for example both:
    <xi:include href="http://www.mmbase.org/components/validation.head.xml" />
and
    <xi:include href="http://www.mmbase.org/components/widgets.head.xml" />
in your block, the jquery script gets included twice. I think it should just be documented in a comment in the x:included that you need to include 'jquery.head..xml' in your block to prevent it including twice.
André van Toly made changes - 2010-05-26 15:22
Description When including for example both:
    <xi:include href="http://www.mmbase.org/components/validation.head.xml" />
and
    <xi:include href="http://www.mmbase.org/components/widgets.head.xml" />
in your block, the jquery script gets included twice. I think it should just be documented in a comment in the x:included that you need to include 'jquery.head..xml' in your block to prevent it including twice.
When including for example both:
    <xi:include href="http://www.mmbase.org/components/validation.head.xml" />
and
    <xi:include href="http://www.mmbase.org/components/widgets.head.xml" />
in your block, the jquery script gets included twice. jQuery script should be removed from these x:includes. I think it should just be documented in a comment in the x:included that you need to include 'jquery.head..xml' in your block when your want to use these to prevent it including twice.
Michiel Meeuwissen made changes - 2010-05-27 17:29
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]

People

Dates

  • Created:
    2010-05-26 15:17
    Updated:
    2010-05-27 17:29
    Resolved:
    2010-05-27 17:29