Adding URL loading when clicked.

git-svn-id: svn://10.0.0.236/trunk@57388 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2000-01-11 09:18:43 +00:00
parent 8ef62f07c8
commit 52ba95c2f9
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>