Sha256: 1a2d3e8dabafd0f97025e2728bd4f8669e1fd58d4833b5bd3fe2333502d2324c
Contents?: true
Size: 1 KB
Versions: 48
Compression:
Stored size: 1 KB
Contents
- self.rendered?(__FILE__) do :plain // #{__FILE__} $(document).ready(function() { $('div.month > table > thead > tr > td.left > a.previous').live('click', function(event) { event.preventDefault(); RubyApp.queueEvent({_class:'RubyApp::Elements::Calendars::Month::MovedEvent', source_id:$(this).parents('div.month').attr('id'), unit:'month', amount:-1}, true); }); $('div.month > table > thead > tr > td.right > a.next').live('click', function(event) { event.preventDefault(); RubyApp.queueEvent({_class:'RubyApp::Elements::Calendars::Month::MovedEvent', source_id:$(this).parents('div.month').attr('id'), unit:'month', amount:1}, true); }); $('div.month > table > tbody > tr > td > a.day').live('click', function(event) { event.preventDefault(); RubyApp.queueEvent({_class:'RubyApp::Elements::Calendars::Month::ChangedEvent', source_id:$(this).parents('div.month').attr('id'), date:$(this).attr('date')}, true); }); }); = yield
Version data entries
48 entries across 48 versions & 1 rubygems