]
Nick Belaevski updated RF-4476:
-------------------------------
Fix Version/s: Future
(was: 3.3.0)
Prototype.js loaded twice when using a4j:loadScript together with
components which requests prototype too.
----------------------------------------------------------------------------------------------------------
Key: RF-4476
URL:
https://jira.jboss.org/jira/browse/RF-4476
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: josef adamcik
Assignee: Nick Belaevski
Fix For: Future
When I use <a4j:loadScript src="resource://prototype.js" /> (mentioned in
demo application
http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScri...
) and some component loads Prototype too, it results in two different script urls (and two
script tags in document header):
/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.faces
and:
/a4j/g/3_2_2.GAprototype.js.faces
-> script is loaded downloaded and included twice.
Commonly it doesn't cause problem, but sometimes it can broke prototype in IE 6 (not
tested other versions). (There was problem with suggestion box throwing errors on some
methods from script.aculo.us in my case.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: