From 0676d7e2dc0cb4950af314eb889d3989a537db84 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 24 Nov 2012 12:16:40 +0000 Subject: [PATCH] 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 7e042fb5a..c63f7719f 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) {