Change legacy URL route for Add Note bookmarklet
This commit is contained in:
parent
e1847ae5a7
commit
9665870b39
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ <h2 class="window-title">Bookmarklets</h2>
|
||||||
alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
|
alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
|
||||||
}
|
}
|
||||||
window.open(
|
window.open(
|
||||||
'{$pageabsaddr}?private=1&post='+
|
'{$pageabsaddr}admin/shaare?private=1&post='+
|
||||||
'&description='%20+%20encodeURIComponent(desc)+
|
'&description='%20+%20encodeURIComponent(desc)+
|
||||||
'&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
|
'&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
|
||||||
);
|
);
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
href="javascript:(
|
href="javascript:(
|
||||||
function(){
|
function(){
|
||||||
window.open(
|
window.open(
|
||||||
'{$pageabsaddr}?private=1&post='+
|
'{$pageabsaddr}admin/shaare?private=1&post='+
|
||||||
'&description='%20+%20encodeURIComponent(document.getSelection())+
|
'&description='%20+%20encodeURIComponent(document.getSelection())+
|
||||||
'&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
|
'&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue