Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.1
-
None
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 += feedPath;
}
feedURLInput.val(feedURL);
return true;
});
}