Removing protocol icon.
git-svn-id: svn://10.0.0.236/trunk@54236 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e1871db87e
commit
23b89f19c9
@ -1150,24 +1150,6 @@ function OpenSearch(tabName, searchStr)
|
||||
dump("Can't find status broadcaster!\n");
|
||||
}
|
||||
}
|
||||
|
||||
function onProtocolClick()
|
||||
{
|
||||
//TODO: need to hookup to page info
|
||||
var status = document.getElementById("Browser:Status");
|
||||
if ( status ) {
|
||||
//var msg = "Hey, don't touch me there!";
|
||||
//status.setAttribute("value",msg);
|
||||
}
|
||||
}
|
||||
function onProtocolChange()
|
||||
{
|
||||
var protocolIcon = document.getElementById("Browser:ProtocolIcon");
|
||||
var uri = protocolIcon.getAttribute("uri");
|
||||
var icon = document.getElementById("protocol-icon");
|
||||
|
||||
icon.setAttribute("src",uri);
|
||||
}
|
||||
|
||||
function doTests() {
|
||||
}
|
||||
|
||||
@ -57,7 +57,6 @@ Contributor(s): ______________________________________. -->
|
||||
<broadcaster id="canPrint"/>
|
||||
<broadcaster id="Browser:LoadingProgress"/>
|
||||
<broadcaster id="Browser:Status"/>
|
||||
<broadcaster id="Browser:ProtocolIcon" uri=""/>
|
||||
<broadcaster id="Browser:Throbber" busy="false"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
</broadcasterset>
|
||||
@ -429,12 +428,8 @@ Contributor(s): ______________________________________. -->
|
||||
</titledbutton>
|
||||
|
||||
<titledbutton class="status-bar" align="left" value="&buildId.label;"/>
|
||||
|
||||
<titledbutton id="protocol-icon" class="borderless" uri="..."
|
||||
src="" align="left" onclick="onProtocolClick()">
|
||||
<observes element="Browser:ProtocolIcon" attribute="uri"
|
||||
onbroadcast="onProtocolChange()"/>
|
||||
</titledbutton>
|
||||
<titledbutton id="lock-button" class="borderless" align="left"/>
|
||||
|
||||
</box>
|
||||
</box><!-- status -->
|
||||
</box><!-- toolbar/content/status -->
|
||||
|
||||
@ -1150,24 +1150,6 @@ function OpenSearch(tabName, searchStr)
|
||||
dump("Can't find status broadcaster!\n");
|
||||
}
|
||||
}
|
||||
|
||||
function onProtocolClick()
|
||||
{
|
||||
//TODO: need to hookup to page info
|
||||
var status = document.getElementById("Browser:Status");
|
||||
if ( status ) {
|
||||
//var msg = "Hey, don't touch me there!";
|
||||
//status.setAttribute("value",msg);
|
||||
}
|
||||
}
|
||||
function onProtocolChange()
|
||||
{
|
||||
var protocolIcon = document.getElementById("Browser:ProtocolIcon");
|
||||
var uri = protocolIcon.getAttribute("uri");
|
||||
var icon = document.getElementById("protocol-icon");
|
||||
|
||||
icon.setAttribute("src",uri);
|
||||
}
|
||||
|
||||
function doTests() {
|
||||
}
|
||||
|
||||
@ -57,7 +57,6 @@ Contributor(s): ______________________________________. -->
|
||||
<broadcaster id="canPrint"/>
|
||||
<broadcaster id="Browser:LoadingProgress"/>
|
||||
<broadcaster id="Browser:Status"/>
|
||||
<broadcaster id="Browser:ProtocolIcon" uri=""/>
|
||||
<broadcaster id="Browser:Throbber" busy="false"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
</broadcasterset>
|
||||
@ -429,12 +428,8 @@ Contributor(s): ______________________________________. -->
|
||||
</titledbutton>
|
||||
|
||||
<titledbutton class="status-bar" align="left" value="&buildId.label;"/>
|
||||
|
||||
<titledbutton id="protocol-icon" class="borderless" uri="..."
|
||||
src="" align="left" onclick="onProtocolClick()">
|
||||
<observes element="Browser:ProtocolIcon" attribute="uri"
|
||||
onbroadcast="onProtocolChange()"/>
|
||||
</titledbutton>
|
||||
<titledbutton id="lock-button" class="borderless" align="left"/>
|
||||
|
||||
</box>
|
||||
</box><!-- status -->
|
||||
</box><!-- toolbar/content/status -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user