vanderlee/colorpicker — Issue #11: Next open: of the same widget ignores previous selection
Author: boutell
Created: 2012-01-12 22:42:22+00:00
State: open

When updating the current color in the _change method the colorpicker set the value of the underlying input field but did not update the widget's color option. So the next open() of the same widget would ignore its most recent value, in favor of its original value when the widget was created, contradicting what the user is seeing on the button. Fixed this by setting this.options.color to the same hex color as the input element in the patch I'm submitting momentarily