提交 b41060bb 编写于 作者: K Kohsuke Kawaguchi

Added an event hook

上级 999f4951
......@@ -57,6 +57,8 @@ Behaviour.specify("SELECT.select", 'select', 0, function(e) {
}
}
fireEvent(e,"filled"); // let other interested parties know that the items have changed
// if the update changed the current selection, others listening to this control needs to be notified.
if (e.value!=value) fireEvent(e,"change");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册