From 9665870b39c709e015aebf771a4c4b7325455cfd Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 5 Apr 2021 09:21:56 +0200 Subject: [PATCH] Change legacy URL route for Add Note bookmarklet --- tpl/default/tools.html | 2 +- tpl/vintage/tools.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/default/tools.html b/tpl/default/tools.html index 2df73598..7c274824 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html @@ -106,7 +106,7 @@

Bookmarklets

alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); } window.open( - '{$pageabsaddr}?private=1&post='+ + '{$pageabsaddr}admin/shaare?private=1&post='+ '&description='%20+%20encodeURIComponent(desc)+ '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' ); diff --git a/tpl/vintage/tools.html b/tpl/vintage/tools.html index 1125bba9..8f6f48ce 100644 --- a/tpl/vintage/tools.html +++ b/tpl/vintage/tools.html @@ -42,7 +42,7 @@ href="javascript:( function(){ window.open( - '{$pageabsaddr}?private=1&post='+ + '{$pageabsaddr}admin/shaare?private=1&post='+ '&description='%20+%20encodeURIComponent(document.getSelection())+ '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' );