lib/ruby_app/elements/navigation/page_link.js.haml in RubyApp-0.0.48 vs lib/ruby_app/elements/navigation/page_link.js.haml in RubyApp-0.0.49
- old
+ new
@@ -2,9 +2,9 @@
:plain
// #{__FILE__}
$(document).ready(function() {
$('span.link > a.page').click(function(event) {
event.preventDefault();
- RubyApp.queueEvent({_class:'RubyApp::Elements::Navigation::PageLink::ClickedEvent', source_id:$(this).parents('span.link').attr('id'), page:$(this).attr('page')});
+ RubyApp.queueEvent({_class:'RubyApp::Elements::Navigation::PageLink::ClickedEvent', source_id:$(this).parents('span.link').attr('id'), page:$(this).attr('page')}, true);
});
});
= yield