1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-28 14:05:57 +00:00

Add a Link button to messages

Allows users to copy the URL for a specific message and send it to
another person.
This commit is contained in:
James Hillyerd
2013-10-25 13:29:26 -07:00
parent ea7274e5dd
commit 47cba08c33
4 changed files with 33 additions and 14 deletions

View File

@@ -3,7 +3,8 @@
{{define "script"}}
<script>
function listLoaded() {
var selected = "{{.selected}}"
function listLoaded() {
$('.listEntry').hover(
function() {
$(this).addClass("listEntryHover")
@@ -19,6 +20,10 @@
}
)
$("#messageList").slideDown()
if (selected != "") {
$("#" + selected).click()
selected = ""
}
}
function loadList() {