Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: JRuby 1.3
-
Fix Version/s: JRuby 1.5
-
Component/s: None
-
Labels:None
-
Environment:Server: JRuby 1.3, Rails 2.3.2, Mongrel (tested with WEBrick, same result)
Client: Windows CE 5.0, Internet Explorer 6
-
Number of attachments :
Description
I set up a Rails-Application that uses a javascript-library. If I access this application on my Windows XP machine with Firefox, everything works fine. But on a handheld device with Windows CE / IE6, the javascript-library was not loaded resp. does not work.
This is my view:
<html>
<head>
<title>Barcodes</title>
<%= javascript_include_tag "taffy" %>
</head>
<body onLoad="initialize()">
...
</body>
</html>
Following information for your attention:
1. The problem does not occur on MRI 1.8
2. It doesn't matter if I use <%= javascript_include_tag "taffy" %> or <script src="taffy.js" />
3. I'm able to download the javascript-lib from /javascripts-folder on my handheld device, but it will not be loaded with my view.
4. If I copy the content from the libary-file and paste it into <script>...</script>-Tags instead, it will work both on XP/Firefox and CE/IE6
What does the generated HTML look like on your CE browser? Does it have the appropriate tags for javascript? Is Rails perhaps thinking that your browser does not support javascript?