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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user