lib/ruby_app/elements/input.js.haml in RubyApp-0.0.43 vs lib/ruby_app/elements/input.js.haml in RubyApp-0.0.44

- old
+ new

@@ -2,9 +2,9 @@ :plain // #{__FILE__} $(document).ready(function() { $('input[type="text"]').live('change', function(event) { event.preventDefault(); - RubyApp.sendEvent({_class:'RubyApp::Elements::Input::ChangedEvent', source_id:$(this).attr('id'), value:$(this).val()}); + RubyApp.queueEvent({_class:'RubyApp::Elements::Input::ChangedEvent', source_id:$(this).attr('id'), value:$(this).val()}); }); }); = yield