From 5097bf37ffaa72ec077d88ee84ab3c9c4e570d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 14 Nov 2012 12:56:13 -0800 Subject: [PATCH] Fix small newly introduced bug. --- src/ui/Component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/Component.js b/src/ui/Component.js index afbcb1d1..81761889 100644 --- a/src/ui/Component.js +++ b/src/ui/Component.js @@ -75,8 +75,8 @@ var Component = this.Component = Base.extend(Callback, /** @lends Component# */{ that.setValue( DomElement.get(this, that._info.value || 'value')); if (fireChange) { - that._palette.fire('change', that, that.name, value); - that.fire('change', value); + that._palette.fire('change', that, that.name, that._value); + that.fire('change', that._value); } }, click: function() {