aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-13 18:17:15 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commit1ab675445e52000d8b667c898aae041357304a33 (patch)
tree84b956121212a0b15316843dcfca3cda6ca4ad7f /tpl/default/editlink.html
parentbaa6979194573855b260593094983c33ec338dc7 (diff)
downloadShaarli-1ab675445e52000d8b667c898aae041357304a33.tar.gz
Shaarli-1ab675445e52000d8b667c898aae041357304a33.tar.zst
Shaarli-1ab675445e52000d8b667c898aae041357304a33.zip
Fix bookmarklet with new routes
* Use the new shaare route * Add source hidden input in editlink template to close the popup after saving
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r--tpl/default/editlink.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index 15edb00d..568545bd 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -81,6 +81,7 @@
81 </div> 81 </div>
82 82
83 <input type="hidden" name="token" value="{$token}"> 83 <input type="hidden" name="token" value="{$token}">
84 <input type="hidden" name="source" value="{$source}">
84 {if="$http_referer"} 85 {if="$http_referer"}
85 <input type="hidden" name="returnurl" value="{$http_referer}"> 86 <input type="hidden" name="returnurl" value="{$http_referer}">
86 {/if} 87 {/if}