mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
Bug 580900 - Remove feedback and dev doc links
Get rid of _newTab to create tabs from the ui and remove feedback references.
This commit is contained in:
1 parent
ad37954463
commit
1429185f5d
3 files changed
+1
-27
No files matched your search
@@ -720,10 +720,6 @@ UIClass.prototype = {
|
||||
self._reset();
|
||||
});
|
||||
|
||||
iQ("#feedback").click(function(){
|
||||
self._newTab('http://feedback.mozillalabs.com/forums/56804-tabcandy');
|
||||
});
|
||||
|
||||
iQ(window).bind('beforeunload', function() {
|
||||
// Things may not all be set up by now, so check for everything
|
||||
if (self.showChrome)
|
||||
@@ -1177,11 +1173,6 @@ UIClass.prototype = {
|
||||
code: function() {
|
||||
self._reset();
|
||||
}
|
||||
}, {
|
||||
name: 'code docs',
|
||||
code: function() {
|
||||
self._newTab('http://hg.mozilla.org/labs/tabcandy/raw-file/tip/content/doc/index.html');
|
||||
}
|
||||
}, {
|
||||
name: 'save',
|
||||
code: function() {
|
||||
@@ -1311,21 +1302,6 @@ UIClass.prototype = {
|
||||
|
||||
Groups.arrange();
|
||||
},
|
||||
|
||||
// ----------
|
||||
// Function: _newTab
|
||||
// Opens a new tab with the given URL.
|
||||
_newTab: function(url) {
|
||||
try {
|
||||
var group = Groups.getNewTabGroup();
|
||||
if (group)
|
||||
group.newTab(url);
|
||||
else
|
||||
Tabs.open(url);
|
||||
} catch(e) {
|
||||
Utils.log(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// ----------
|
||||
|
||||
@@ -446,5 +446,4 @@ input.defaultName:hover{
|
||||
-moz-box-shadow: 0px 0px 5px rgba(0,0,0,.6), inset 0px 1px 0px rgba(255,255,255,.4);
|
||||
}
|
||||
|
||||
#feedback{ right: 200px; }
|
||||
#reset{ right: 130px; width: 50px;}
|
||||
#reset{ right: 130px; width: 50px;}
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
<body style="background-color: transparent !important;-moz-appearance: none !important;" transparent="true">
|
||||
<div id="content">
|
||||
<div id="feedback" class="bottomButton">give feedback</div>
|
||||
<div id="reset" class="bottomButton">reset</div>
|
||||
<div id="bg" />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user