Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30386

Confluence Administrator pages are outputing errors to the console

    XMLWordPrintable

Details

    Description

      Diagnosis from Richard Atkins is that the gadgets tab selector code is incorrectly run on all admin pages rather than just on the gadgets page.

      Console in chrome (v28) outputs:
      Resource interpreted as Font but transferred with MIME type font/x-woff: "https://hchow2.jira-dev.com/wiki/s/en_GB-1988229788/4502/d3230dbb2acbae8be1…ces/com.atlassian.auiplugin:aui-experimental-iconfont/atlassian-icons.woff". console.action:28
      DEPRECATED: jquery.autocomplete.js - See https://ecosystem.atlassian.net/browse/AUI-393 batch.js:29
      AJS.Confluence: run binder components batch.js:29
      confluence-keyboard-shortcuts initialising batch.js:29
      Failed to run init function: TypeError: Cannot call method 'match' of undefined batch.js:29
      Failed toInit function is: function ($) {
      AJS.tabs.change(AJS.$("ahref='#" + AJS.params.activeTab + "'"));

      var feedPath = "rest/gadgets/1.0/g/feed";

      $("#addgadgetfeed").submit(function () {
      var feedURLInput = $("#gadgetFeedToAdd"),
      feedURL = feedURLInput.val();

      if (feedURL.indexOf("http") != 0)

      { feedURL = "http://" + feedURL; }

      if (feedURL.indexOf(feedPath) < 0) {
      if (feedURL.lastIndexOf("/") != (feedURL.length - 1))

      { feedURL += "/"; }

      feedURL += feedPath;
      }

      feedURLInput.val(feedURL);
      return true;
      });
      }

      Attachments

        Activity

          People

            psaw PatrickA
            hchow Herman Chow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: