Sha256: fdaf5bbfc48bc0d88b92a35664d78e7ca277e047d3f73c230aa975a79acf6129

Contents?: true

Size: 533 Bytes

Versions: 10

Compression:

Stored size: 533 Bytes

Contents

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


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

  $('#re_workflow_new_insert').live('click', function() {
    $.re_block();    
    $.post($('#re_workflow_new_form').attr('action'), $('#re_workflow_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_workflow_new.js
rules_engine-0.3.3 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.3.2 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.3.1 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.3.0 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.2.0 rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.1.10 rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.1.9 rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.1.8 rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js
rules_engine-0.1.7 rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js