I'm trying to upgrade my gadget that uses the datepicker from jQuery UI. Was easier prior to 4.3. I got the field to work but I need to know what resource to include to get the css.
By the way, what happened to draggable? Several included ui components require it but its not included which causes exceptions.
Community moderators have prevented the ability to post new answers.
you need to include the required draggable javascript file yourself, not all jQuery files are included in JIRA.
In my atlassian-plugin.xml I have to use
<web-resource key="de.pixsoftware.jira.plugin.some.key" name="Resources">
<resource type="download" name="jquery.ui.droppable.js" location="js/jquery.ui.droppable.js"/>
<resource type="download" name="jquery.ui.selectable.js" location="js/jquery.ui.selectable.js"/>
<resource type="download" name="jquery.ui.theme.css" location="css/jquery.ui.theme.css"/>
<dependency>jira.webresources:jira-global</dependency>
</web-resource>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have indentified the issue and raised a bug. Will be scheduled to be fixed for 5.0. Again apologies for any inconvienience.
https://jira.atlassian.com/browse/JRA-25039
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. I am too facing the same problem of defining a date picker in my custom gadget. Could anyone please provide step by step instruction on how to have a date picker in a gadget. i tried the way as suggested but it isnt working, its showing an error in the gadget. I have downloaded thejquery datepicker file. How to import/refer in my custom gadget, what changes to be done in the atlassian.xml file, how to make use of this control. Please can anyone provide a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Justin,
Apologies for your frustrations. Are you able to please post the contents of the <resource> defined in you atlassian-plugin.xml? It will help greatly in diagnosing the issue.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've taken a look at this and we think the CSS was never actually bundled - presumably people were only using the javascript and didn't need the CSS.
Draggable should still be included along with the AUI core (jquery-ui.js is loaded by default and that includes draggable).
You should still be able to include jquery-ui-other, which adds Position, Droppable, Resizable, Selectable and all widget/effect modules (to put it another way, it adds everything all the jQuery UI javascript that's not included in core). If you can provide further details on what went wrong trying to use it, we can investigate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.