#127 open
Petr Franta

Definition in scriptaculous.js

Reported by Petr Franta | November 24th, 2008 @ 11:51 AM | in 1.8.3 bugfix release

We are use scriptaculous.js on portlets and we can't define tag

and this is problem, because since scriptaculous.js v1.8.2 not work our pages.

Problem is in line 49: $$('head script[src]').findAll(function(s) { ...

We must change this line: $$('script[src]').findAll(function(s) { ...

Petr F.

Comments and changes to this ticket

  • Petr Franta

    Petr Franta November 24th, 2008 @ 11:52 AM

    We are use scriptaculous.js on portlets and we can't define tag <script /> in tag <head> and this is problem, because since scriptaculous.js v1.8.2 not work our pages correctly.

    Problem is in line 49: $$('head script[src]').findAll(function(s) { ...

    We must change this line: $$('script[src]').findAll(function(s) { ...

    Petr F.

  • ronin-15560 (at lighthouseapp)

    ronin-15560 (at lighthouseapp) November 24th, 2008 @ 01:19 PM

    In this case I'd recommend not using the scriptaculous.js loader, but instead loading in the javascript files (effects.js, controls.js, dragdrop.js, etc.) individually. This works just fine.

    On 24.11.2008, at 11:51, Lighthouse wrote:

  • ronin-15560 (at lighthouseapp)

    ronin-15560 (at lighthouseapp) November 24th, 2008 @ 01:19 PM

    • State changed from “new” to “invalid”
  • Glen

    Glen November 27th, 2008 @ 12:02 AM

    I can't put my scriptaculous loading tag into the

    element either.

    I also needed to edit line 49 and remove "head".

    I think requiring "head" is an artificial limit that could hurt many sites.

    Please reconsider this, and remove "head" from line 49!

  • Glen

    Glen November 27th, 2008 @ 12:03 AM

    (in my post above, I include <head> in the text, and it isn't shown in the html view)

  • ronin-15560 (at lighthouseapp)

    ronin-15560 (at lighthouseapp) November 27th, 2008 @ 10:47 AM

    • Milestone set to 1.8.3 bugfix release
    • State changed from “invalid” to “open”

    I guess we'll change it then, if you guys insist! :)

  • vedant

    vedant April 24th, 2019 @ 08:26 AM

    • Importance changed from “” to “”

    If you to add now in your system a audio connection audio connection then you can fix because now here we have so more best things available for us.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
<br/><b>Source available from github</b>
The Git repository resides at:
<a href="http://github.com/madrobby/scriptaculous">http://github.com/madrobby/scriptaculous</a>
<br/>Check out the current development trunk with:
<code>git clone git://github.com/madrobby/scriptaculous.git</code>
<br/>As <b>script.aculo.us 1.xx is feature-frozen</b>, this development trunk is for <b>bugfixes only</b>.
<br/>New development should happen only for
<b>script.aculo.us 2</b>.
<br/><b>Creating a bug report</b>
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, <b>alter the unit tests</b> and show through either changed or added tests how the expected behavior is not occuring.

People watching this ticket

Pages