Sha256: cb72721cde98151104e7dd48eceff70bbe1fc5bca93bfdbe54143e77967765d1

Contents?: true

Size: 387 Bytes

Versions: 48

Compression:

Stored size: 387 Bytes

Contents

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

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
RubyApp-0.2.7 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.6 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.5 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.4 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.3 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.2 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.1 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.2.0 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.91 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.90 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.89 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.88 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.87 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.86 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.85 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.84 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.83 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.82 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.81 lib/ruby_app/elements/lists/select.js.haml
RubyApp-0.0.80 lib/ruby_app/elements/lists/select.js.haml