Last active
May 31, 2018 07:57
-
-
Save rpelaez/fd1a216b65bcf13a1de50c923ad7571e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs | |
title="Free text" | |
author="" | |
thumbnail="" | |
screenshot="" | |
description="JIRA Server Dashboard Description"> | |
<Require feature="minimessage" /> | |
<Require feature="dynamic-height" /> | |
<Require feature="auth-refresh"/> | |
<Require feature="oauthpopup" /> | |
<Require feature="setprefs" /> | |
<Require feature="settitle" /> | |
<Require feature="core" /> | |
<Require feature="core.io" /> | |
<Require feature="views" /> | |
<Optional feature="atlassian.util" /> | |
<Optional feature="gadget-directory"> | |
<Param name="categories">Other</Param> | |
</Optional> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="robots" content="noindex, nofollow"> | |
<meta name="googlebot" content="noindex, nofollow"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(window).on('load', function() { | |
$(document).ready(function() | |
{ | |
var time; | |
if(localStorage.freeText != null) | |
{ | |
$("#freetxt").focus().text(localStorage.freeText); | |
} | |
$("#freetxt").keyup(function(e){ | |
clearTimeout(time); | |
localStorage.freeText = $("#freetxt").val(); | |
time=setTimeout(function(){$("#freetxt").change();},500); | |
}); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<textarea id="freetxt" rows="12" cols="100"></textarea> | |
</body> | |
]]> | |
</Content> | |
</Module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment