Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-28831

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: