- Torrents can now be rechecked from Web UI (patch by Stephanos Antaris)

- Torrents paused/resumed state is not reflected in GUI if the action was executed from Web UI
This commit is contained in:
Christophe Dumez
2009-11-17 08:15:26 +00:00
parent e30268cf3b
commit 4e8eaafd53
13 changed files with 77 additions and 49 deletions

View File

@@ -53,6 +53,13 @@ initializeWindows = function(){
height: 120
});
});
addClickEvent('delete', function(e){
new Event(e).stop();
@@ -67,6 +74,8 @@ initializeWindows = function(){
});
}
});
addClickEvent('deletePerm', function(e){
new Event(e).stop();
@@ -82,7 +91,7 @@ initializeWindows = function(){
}
});
['pause','resume','decreasePrio','increasePrio'].each(function(item) {
['pause','resume','decreasePrio','increasePrio','recheck'].each(function(item) {
addClickEvent(item, function(e){
new Event(e).stop();
if($("Tab1").hasClass('active')) {
@@ -105,6 +114,8 @@ initializeWindows = function(){
});
});
addClickEvent('bug', function(e){
new Event(e).stop();
new MochaUI.Window({