This file contains hidden or 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
<script type='text/javascript'> | |
var refreshJqlHistoryPane = function() { | |
var localHistory = localStorage.getItem('jqlHistory'); | |
if(localHistory){ | |
var history = JSON.parse(localHistory); | |
var historyEntries = history.map(function(jql){ | |
var display = jql; | |
if(display.length > 25){ | |
display = display.substr(0,22) + "..."; | |
} |