Fix onclick links to return false.
authorMike Taylor <mike@indexdata.com>
Mon, 25 Jun 2007 10:38:29 +0000 (10:38 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 25 Jun 2007 10:38:29 +0000 (10:38 +0000)
web/htdocs/help/find.html
web/htdocs/help/link.mc

index 3927efe..7239b55 100644 (file)
        could be for
        <a href="#" onclick="sendOpener(
        '/find.html?dc.title=state+or+national&amp;_search=Search'
        could be for
        <a href="#" onclick="sendOpener(
        '/find.html?dc.title=state+or+national&amp;_search=Search'
-       )"><tt>state or national</tt></a>
+       )'; return false;"><tt>state or national</tt></a>
    </li>
    <li>They can use the standard wildcard characters: <tt>?</tt> for
        any single character and <tt>*</tt> for any run of zero or
        more characters.  For example, a hostname search of
        <a href="#" onclick="sendOpener(
        '/find.html?net.host=*indexdata*&amp;_search=Search'
    </li>
    <li>They can use the standard wildcard characters: <tt>?</tt> for
        any single character and <tt>*</tt> for any run of zero or
        more characters.  For example, a hostname search of
        <a href="#" onclick="sendOpener(
        '/find.html?net.host=*indexdata*&amp;_search=Search'
-       )"><tt>*indexdata*</tt></a>
+       ); return false;"><tt>*indexdata*</tt></a>
        would find all services hosted on Index Data machines.
    </li>
   </ul>
        would find all services hosted on Index Data machines.
    </li>
   </ul>
index f2b68a5..cca692c 100644 (file)
@@ -1,8 +1,8 @@
-%# $Id: link.mc,v 1.8 2007-03-16 14:21:45 mike Exp $
+%# $Id: link.mc,v 1.9 2007-06-25 10:38:35 mike Exp $
 <%args>
 $help
 </%args>
       <a title="Pops up in a new window" href="#"
        onclick="window.open('/help.html?help=<% $help %>', 'help',
 <%args>
 $help
 </%args>
       <a title="Pops up in a new window" href="#"
        onclick="window.open('/help.html?help=<% $help %>', 'help',
-               'status=0,scrollbars=1,height=320,width=320')"
+               'status=0,scrollbars=1,height=320,width=320'); return false;"
        ><img alt="Help" height="16" width="16" src="/help-16px.png"/></a>
        ><img alt="Help" height="16" width="16" src="/help-16px.png"/></a>