summaryrefslogtreecommitdiff
path: root/doc-src
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-08 04:10:58 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-08 04:10:58 +0000
commit60245f6a27a21ecfc90a2be76fee657e8c696f96 (patch)
treef016c42de375494614116c4b26b4173539843230 /doc-src
parent8f40a1a30c44b5aa3fefb705f1343b691778bf02 (diff)
bookmarklet now uses non-fancy URLs to make sure it works in all cases.
Diffstat (limited to 'doc-src')
-rw-r--r--doc-src/bookmarklet2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc-src/bookmarklet b/doc-src/bookmarklet
index 03c0e97c9..a7f459eec 100644
--- a/doc-src/bookmarklet
+++ b/doc-src/bookmarklet
@@ -3,6 +3,6 @@ A bookmarklet is a small piece of javascript code used as a bookmark. This one w
Drag-and-drop the following link to your bookmarks bar or right-click it and add it to your browser favorites to keep it handy.
<MTMarkdownOptions output='raw'>
-<a href="javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://%%site.server%%/%%site.path%%/notice/new',l=d.location,e=encodeURIComponent,g=f+'?status_textarea=%22'+e(s)+'%22 from '+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}a();void(0);">Post to %%site.name%%</a>
+<a href="javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://%%site.server%%/%%site.path%%/index.php?action=newnotice',l=d.location,e=encodeURIComponent,g=f+'&status_textarea=%22'+e(s)+'%22 from '+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}a();void(0);">Post to %%site.name%%</a>
</MTMarkdownOptions>