Removed broken "Documentation" iframe from the webui. Improves fix qbittorrent/qBittorrent#1343

This commit is contained in:
Benjamin Hutchins 2014-01-29 20:54:19 -05:00
parent afc5601697
commit 9143c440a5
2 changed files with 1 additions and 13 deletions

View file

@ -62,7 +62,7 @@
<ul>
<li><a id="bugLink" target="_blank" href="http://bugs.qbittorrent.org/"><img class="MyMenuIcon" src="theme/tools-report-bug" width="16" height="16" onload="fixPNG(this)"/>_(Report a &bug)</a></li>
<li><a id="siteLink"><img class="MyMenuIcon" src="images/skin/qbittorrent16.png" width="16" height="16" onload="fixPNG(this)"/>_(Visit &Website)</a></li>
<li><a id="docsLink"><img class="MyMenuIcon" src="theme/help-contents" width="16" height="16" onload="fixPNG(this)"/>_(&Documentation)</a></li>
<li><a id="docsLink" target="_blank" href="http://wiki.qbittorrent.org/"><img class="MyMenuIcon" src="theme/help-contents" width="16" height="16" onload="fixPNG(this)"/>_(&Documentation)</a></li>
<li><a id="aboutLink"><img class="MyMenuIcon" src="theme/help-about" width="16" height="16" onload="fixPNG(this)"/>_(&About)</a></li>
</ul>
</li>

View file

@ -246,18 +246,6 @@ initializeWindows = function(){
});
});
addClickEvent('docs', function(e){
new Event(e).stop();
new MochaUI.Window({
id: 'docsPage',
title: 'qBittorrent official wiki',
loadMethod: 'iframe',
contentURL: 'http://wiki.qbittorrent.org/',
width: 650,
height: 400
});
});
addClickEvent('about', function(e){
new Event(e).stop();
new MochaUI.Window({