aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/tools.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/tools.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/tools.html')
-rw-r--r--tpl/default/tools.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/tools.html b/tpl/default/tools.html
index fd58cca9..d07dabd0 100644
--- a/tpl/default/tools.html
+++ b/tpl/default/tools.html
@@ -86,7 +86,7 @@
86 alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); 86 alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
87 } 87 }
88 window.open( 88 window.open(
89 '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ 89 '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+
90 '&amp;title='%20+%20encodeURIComponent(title)+ 90 '&amp;title='%20+%20encodeURIComponent(title)+
91 '&amp;description='%20+%20encodeURIComponent(desc)+ 91 '&amp;description='%20+%20encodeURIComponent(desc)+
92 '&amp;source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' 92 '&amp;source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'