From 0571799a0721bd625b622a77c56bd94c3cd9af71 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 24 Nov 2012 12:16:40 +0000 Subject: Fix #2120 : WebUI: Manually entered values not being saved in Spinners --- deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js b/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js index 207ef695c..3308791cd 100644 --- a/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js +++ b/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js @@ -1,6 +1,6 @@ /*! * Ext.ux.form.SpinnerGroup.js - * + * * Copyright (c) Damien Churchill 2009-2010 * * This program is free software; you can redistribute it and/or modify @@ -154,6 +154,7 @@ Ext.ux.form.SpinnerGroup = Ext.extend(Ext.form.CheckboxGroup, { this.items.each(function(field) { field.on('spin', this.onFieldChange, this); + field.on('change', this.onFieldChange, this); }, this); if (this.lazyValueSet) { -- cgit