Sha256: a8cfc7f5231b2ae08b0dc1ccf200eae2261c67ee81d2119207851dbee3851c5b

Contents?: true

Size: 397 Bytes

Versions: 14

Compression:

Stored size: 397 Bytes

Contents

$(document).ready(function() {	  
  
  $('a.re-xtra-workflow-preview').live('click', function() {    
    var id = $(this).attr('href').replace('#', '')
      
    $.re_block();
    $.get('/re_workflows/' + id + '/preview', null, null, 'script');
  	return false;  
  });  
  
  $("#re_workflow_preview_close").live('click', function() {
    $.fancybox.close();
    return false;
  });  
  
});


Version data entries

14 entries across 13 versions & 1 rubygems

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