Javascript Error in IE 8.0 when adding new javascript resource
--------------------------------------------------------------

                 Key: NXP-7087
                 URL: https://jira.nuxeo.com/browse/NXP-7087
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Themes
    Affects Versions: 5.4.2
         Environment: Internet Explorer 8.0 under Windows 7
            Reporter: Sean Radford
            Priority: Major


When adding a new javascript resource a number of Javascript "Object doesn't 
support this property or method" errors are raised on every page.

<extension target="org.nuxeo.theme.services.ThemeService" point="resources">
  <resource name="mycustomscript.js">
    <path>nxthemes/html/scripts/mycustomscript.js</path>
    <shrinkable>false</shrinkable>
  </resource>
</extension>
    
<extension target="org.nuxeo.theme.services.ThemeService" point="views">
  <view name="nuxeo5 includes" template-engine="jsf-facelets">
    <format-type>widget</format-type>
    <template>incl/includes.xhtml</template>
    <resource>dragdrop.js</resource>
    <resource>seam-remote.js</resource>
    <resource>bsn.AutoSuggest_2.1.3.js</resource>
    <resource>foldable-box.js</resource>
    <!-- include calendar resources so that they're
      available on all the pages -->
    <resource>calendar-win2k-1.css</resource>
    <resource>calendar.js</resource>
    <resource>calendar-setup.js</resource>
    <resource>calendar-en.js</resource>
    <resource>calendar.css</resource>
    <!-- include JS used for waiter -->
    <resource>effects.js</resource>
    <resource>window.js</resource>
    <resource>window_effects.js</resource>
    <resource>waitdlg.js</resource>
    <!-- include JS used for D&D and tableSelection -->
    <resource>utils.js</resource>
    <!-- include JS for contextual menu -->
    <resource>jquery.js</resource>
    <resource>contextmenu.js</resource>
    
    <resource>mycustomscript.js</resource>
  </view>
</extension>


The errors are raised even if the new javascript resource is an empty file.

It does not happen with Firefox, and the errors used not to be raised with 
Nuxeo 5.4.1.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to