Sha256: 53d3462d173bf4b4d13c2ffab998d8057b53024f87cb057558371a60ba1e6a51

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

- self.rendered?(__FILE__) do
  :plain
    // #{__FILE__}
    $(document).ready(function() {
      $("ul.select > li.item > a.item").live('click', function(event) {
        event.preventDefault();
        RubyApp.sendEvent({_class:'RubyApp::Elements::List::ClickedEvent', source_id:$(this).parent().parent().attr('id'), index:$(this).attr('index')});
      });
    });
= yield

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RubyApp-0.0.10 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.9 lib/ruby_app/elements/lists/select.js.haml