Context-specific plugin Javascript does not get included in pages when batch is set to false

XMLWordPrintable

    • 5
    • Severity 2 - Major

      See attached plugin sources. atlas-debug them and open any page. In FF and Chrome, it will popup an alert() box at you. In IE, nothing happens. Plugin XML:

          <web-resource key="javascript" name="JavaScript">
              <dependency>com.atlassian.auiplugin:ajs</dependency>
              <dependency>jira.webresources:jira-global</dependency>
      
              <resource type="download" name="test.js" location="js/test.js">
                  <param name="batch" value="false"/>
              </resource>
      
              <context>atl.general</context>
              <context>atl.admin</context>
          </web-resource>
      

      There is nothing else in the plugin and the Javascript is trivial

        1. test.zip
          6 kB
          Janusz Gorycki

              Assignee:
              Unassigned
              Reporter:
              Janusz Gorycki (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: