Adding URL loading when clicked.

This commit is contained in:
dougt%netscape.com 2000-01-11 09:18:43 +00:00
parent 815de20342
commit bc5e6a966d
2 changed files with 8 additions and 1 deletions

View File

@ -260,6 +260,12 @@ function OpenTaskURL( inURL )
window.open( inURL );
}
function ShowUpdateFromResource( node )
{
var url = node.getAttribute('url');
dump( url +" finding \n" );
OpenTaskURL( url )
}
/**
* WALLET submenu
*/

View File

@ -50,7 +50,8 @@
<template>
<rule>
<menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#name"/>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#name"
oncommand="ShowUpdateFromResource( event.target )"/>
</menupopup>
</rule>
</template>