split the auto_add_trackers textfield otherwise it breaks the label plugin

This commit is contained in:
Damien Churchill 2011-03-28 16:50:47 +01:00
parent 67add964de
commit fd248eb1fd
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ Deluge.ux.LabelOptionsWindow = Ext.extend(Ext.Window, {
onOkClick: function() { onOkClick: function() {
var values = this.form.getForm().getFieldValues(); var values = this.form.getForm().getFieldValues();
values['auto_add_trackers'] = values['auto_add_trackers'].split('\n');
deluge.client.label.set_options(this.label, values); deluge.client.label.set_options(this.label, values);
this.hide(); this.hide();
}, },