Comments (4)
i just include jquery directly into the bookmarkelt, so i really know what version i'm going to use
from jira-issue-card-printer.
Did jira drop jquery usage?
from jira-issue-card-printer.
I don't know if Atlassian do this, but in our installation it "$" was not available...
from jira-issue-card-printer.
this checks if jquery is available...
javascript:(function () {var a = document.getElementsByTagName("head")[0],b = function () {var d = document.createElement("script");d.src = "https://qoomon.github.io/Jira-Issue-Card-Printer/bookmarklet.js", a.appendChild(d), a.removeChild(d)};if ("undefined" == typeof $ || "undefined" == typeof jQuery) {var c = document.createElement("script");c.onload = b, c.src = "https://code.jquery.com/jquery-2.2.4.min.js", a.appendChild(c)} else b()})();
javascript:(function () {
var head = document.getElementsByTagName('head')[0];
var loadCardPrinter = function () {
var script = document.createElement('script');
script.src = 'https://qoomon.github.io/Jira-Issue-Card-Printer/bookmarklet.js';
head.appendChild(script);
head.removeChild(script);
};
if(typeof $ === 'undefined' || typeof jQuery === 'undefined'){
var jq = document.createElement('script');
jq.onload = loadCardPrinter;
jq.src = 'https://code.jquery.com/jquery-2.2.4.min.js';
head.appendChild(jq);
} else {
loadCardPrinter();
}
})();
should also work, but i cant test it at the moment...
from jira-issue-card-printer.
Related Issues (20)
- IE 11 Support
- Something changed? HOT 3
- Make use of Jira Agile Api
- Safari Blank Page
- IE Paper Bottom ZigZag
- "stack": ReferenceError: formatDate is not defined HOT 2
- 404 Not Found exception HOT 3
- Epic field is not displayed in Chrome HOT 2
- Support for Bitbucket HOT 4
- Show Epic Name instead of Epic issue key HOT 3
- Show Remaining time for Sub-tasks in Jira when Estimate mark is set HOT 1
- Cards are empty when using latest Jira interface HOT 4
- Trello support not working HOT 2
- Trello - card should be printed with rendered description HOT 5
- No working: chrome detect qoomon.github.io as a phishing website HOT 4
- Support for Kanboard HOT 8
- Support Jira "next-gen project" HOT 19
- Using this with Firefox HOT 7
- May we host this on our intranet for our own in-house use? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-issue-card-printer.