diff --git a/deluge/ui/webui/config_tabs_deluge.py b/deluge/ui/webui/config_tabs_deluge.py index 9c45ca012..bd409285c 100644 --- a/deluge/ui/webui/config_tabs_deluge.py +++ b/deluge/ui/webui/config_tabs_deluge.py @@ -43,7 +43,6 @@ config_page = component.get("ConfigPageManager") class NetworkPorts(config_forms.CfgForm ): title = _("Ports") - info = _("Restart daemon after changing these values.") _port_from = forms.IntegerField(label= _("From"),min_value = 0, max_value=65535) _port_to = forms.IntegerField(label = _("To"),min_value = 0, max_value=65535) random_port = forms.CheckBox(label = _("Random")) diff --git a/deluge/ui/webui/pages.py b/deluge/ui/webui/pages.py index 71a194726..488e34e0e 100644 --- a/deluge/ui/webui/pages.py +++ b/deluge/ui/webui/pages.py @@ -296,10 +296,11 @@ class connect: def POST(self): vars = web.input(uri = None, other_uri = None) uri = '' - if vars.uri == 'other_uri': - if not vars.other: + print "URI=",uri + if vars.uri == 'other': + if not vars.other_uri: return error_page(_("no uri")) - uri = vars.other + uri = vars.other_uri else: uri = vars.uri #TODO: more error-handling diff --git a/deluge/ui/webui/templates/deluge/tab_statistics.html b/deluge/ui/webui/templates/deluge/tab_statistics.html index efb3ca497..b41fed559 100644 --- a/deluge/ui/webui/templates/deluge/tab_statistics.html +++ b/deluge/ui/webui/templates/deluge/tab_statistics.html @@ -43,7 +43,7 @@ $fspeed(torrent.download_payload_rate)
$:render.part_toolbar()
@@ -50,7 +49,7 @@ $if organize_filters:
|