After adding a few "UserPref"s to my custom gadget's XML, when I add the gadget to my dashboard and try to configure it through the dropdown/Edit option, nothing happens. Am I missing something? Here is the code below:
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Pref Test" author_email="adent@example.com" directory_title="Pref Test D-Title"
screenshot="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-screenshot.png"
thumbnail="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-thumbnail.png">
<Require feature="minimessage" />
<Optional feature="dynamic-height" />
</ModulePrefs>
<UserPref name="show_date" display_name="Show Dates?" datatype="bool" default_value="true"/>
<UserPref name="difficulty" display_name="Difficulty" datatype="enum" default_value="4">
<EnumValue value="3" display_value="Easy"/>
<EnumValue value="4" display_value="Medium"/>
<EnumValue value="5" display_value="Hard"/>
</UserPref>
<Content type="html">
<![CDATA[
Hello, world!
]]>
</Content>
</Module>
Thanks in advance!
I am having the same exact problem. Can someone post an answer to this?
Thank you.
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.