Skip to content
Permalink
Browse files

修正setValue方法

  • Loading branch information...
q13 committed May 25, 2012
1 parent e5ed2af commit 2898ec3baa1a505aac1fce5a1b8c0cc2fb4be219
Showing with 1 addition and 0 deletions.
  1. +1 −0 ya/ui/jquery.ya.ieditor0.js
@@ -295,6 +295,7 @@
element=self.element;
if(_.isString(v)){
element.text(v||"");
element.data('value',v||"").attr('val',v||"");
}else{
element.text(v.label||v.value||"");
element.data('value',v.value||"").attr('val',v.value||"");

0 comments on commit 2898ec3

Please sign in to comment.
You can’t perform that action at this time.