Browse Source

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

adaptive-webui-19844
Benjamin Hutchins 11 years ago
parent
commit
9143c440a5
  1. 2
      src/webui/html/index.html
  2. 12
      src/webui/scripts/mocha-init.js

2
src/webui/html/index.html

@ -62,7 +62,7 @@
<ul> <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="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="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> <li><a id="aboutLink"><img class="MyMenuIcon" src="theme/help-about" width="16" height="16" onload="fixPNG(this)"/>_(&About)</a></li>
</ul> </ul>
</li> </li>

12
src/webui/scripts/mocha-init.js

@ -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){ addClickEvent('about', function(e){
new Event(e).stop(); new Event(e).stop();
new MochaUI.Window({ new MochaUI.Window({

Loading…
Cancel
Save