]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/tools.html
Fix bookmarklet with new routes
[github/shaarli/Shaarli.git] / tpl / default / tools.html
index fd58cca9bd8430feab9e329ab8c426ed5de7dcc6..d07dabd00141ed872302af4a0f64d4de07fb1328 100644 (file)
@@ -86,7 +86,7 @@
               alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
             }
             window.open(
-              '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+
+              '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+
               '&title='%20+%20encodeURIComponent(title)+
               '&description='%20+%20encodeURIComponent(desc)+
               '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'