mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Adding URL loading when clicked.
This commit is contained in:
parent
815de20342
commit
bc5e6a966d
@ -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
|
||||
*/
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user