Sha256: 13188c941da527c2240587524fac386c71cf9e3afc8784696d2c3b08718236d7

Contents?: true

Size: 509 Bytes

Versions: 10

Compression:

Stored size: 509 Bytes

Contents

$(document).ready(function() {	  
  
  $('a#re_plan_new').live('click', function() {    
    $.re_block();
    $.get('/re_plans/new', null, null, 'script');
    	return false;  
    });  


  $("#re_plan_new_cancel").live('click', function() {
    $.fancybox.close();
    return false;
  });  

  $('#re_plan_new_insert').live('click', function() {
    $.re_block();    
    $.post($('#re_plan_new_form').attr('action'), $('#re_plan_new_form').serialize(), null, 'script');
    
    return false;
  });
});


Version data entries

10 entries across 9 versions & 1 rubygems

Version Path
rules_engine-0.3.3 spec/rails_3_0_0_root/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.3.3 generators/manifests/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.3.2 generators/manifests/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.3.1 generators/manifests/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.3.0 generators/manifests/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.2.0 rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.1.10 rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.1.9 rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.1.8 rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js
rules_engine-0.1.7 rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js