Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add onchange event

  • Loading branch information...
commit db5f2c973ca03ad8bb1620aadc11f85231c17dbf 1 parent 7c9fb22
@mneumann authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/wee/html_brushes.rb
View
3  lib/wee/html_brushes.rb
@@ -117,7 +117,8 @@ def get_oid
EVENTS = {:click => 'onclick'.freeze,
:dblclick => 'ondblclick'.freeze,
:mouseover => 'onmouseover'.freeze,
- :mouseout => 'onmouseout'.freeze}.freeze
+ :mouseout => 'onmouseout'.freeze,
+ :change => 'onchange'.freeze}.freeze
def javascript_on(event, javascript)
ev = EVENTS[event]
Please sign in to comment.
Something went wrong with that request. Please try again.