Sha256: 9a7feff7e08536013bb550ee738c3a689a417dd74b498a2d363eb168a01b2f30

Contents?: true

Size: 624 Bytes

Versions: 10

Compression:

Stored size: 624 Bytes

Contents

$(document).ready(function() {	  
  
  $('a.re-list-rule-help').live('click', function() {    
    var values = $(this).attr('href').replace('#', '').split('|');
    
    $.re_block();
    if (parseInt(values[0]) == 0)
      $.get('/re_workflows/' + values[1] + '/rules/help?rule_class_name=' + values[2], null, null, 'script');
    else
      $.get('/re_plans/' + values[0] + '/workflows/' + values[1] + '/rules/help?rule_class_name=' + values[2], null, null, 'script');
    
    return false;  
  });  

  $("#re_rule_help_cancel").live('click', function() {
    $.fancybox.close();    
    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_show.js
rules_engine-0.3.3 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.3.2 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.3.1 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.3.0 generators/manifests/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.2.0 rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.1.10 rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.1.9 rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.1.8 rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js
rules_engine-0.1.7 rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js