Permalink
Browse files

Make #set action call the setValue for proper callbacks

  • Loading branch information...
1 parent 2ee65af commit 612380ba92f146d3dbd9b43f6bbacb55e76d2f2e @Inviz Inviz committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Action/Set.js
View
@@ -23,7 +23,7 @@ LSD.Action.Set = LSD.Action.build({
var widget = LSD.Module.DOM.find(target, true);
switch (LSD.toLowerCase(target.tagName)) {
case 'input': case 'textarea':
- if (target.applyValue) target.applyValue(value);
+ if (widget && widget.setValue) widget.setValue(value);
else target.value = value; break;
default:
if (widget && widget.findItemByValue) {

0 comments on commit 612380b

Please sign in to comment.