diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-06-13 18:17:15 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 1ab675445e52000d8b667c898aae041357304a33 (patch) | |
tree | 84b956121212a0b15316843dcfca3cda6ca4ad7f /tpl/vintage/tools.html | |
parent | baa6979194573855b260593094983c33ec338dc7 (diff) | |
download | Shaarli-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/vintage/tools.html')
-rw-r--r-- | tpl/vintage/tools.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/vintage/tools.html b/tpl/vintage/tools.html index 32707efa..7b69f43e 100644 --- a/tpl/vintage/tools.html +++ b/tpl/vintage/tools.html | |||
@@ -24,7 +24,7 @@ | |||
24 | var%20url%20=%20location.href; | 24 | var%20url%20=%20location.href; |
25 | var%20title%20=%20document.title%20||%20url; | 25 | var%20title%20=%20document.title%20||%20url; |
26 | window.open( | 26 | window.open( |
27 | '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ | 27 | '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+ |
28 | '&title='%20+%20encodeURIComponent(title)+ | 28 | '&title='%20+%20encodeURIComponent(title)+ |
29 | '&description='%20+%20encodeURIComponent(document.getSelection())+ | 29 | '&description='%20+%20encodeURIComponent(document.getSelection())+ |
30 | '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1' | 30 | '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1' |