Sha256: 895a1cec989757e93db906c03a6aa2d1c1d63cad85a14602639531dc5a167aab

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

$('#re_content').html('<%=escape_javascript(render('/re_workflows/copy', :duplicate_path => duplicate_re_plan_workflow_path(@re_plan, @re_workflow), :cancel_path => change_re_plan_workflow_path(@re_plan, @re_workflow)))%>');

$('#re_workflow_copy_duplicate').closest('div.re-form-button').re_form_button(); 

$("#re_workflow_copy_form").submit(function() { return false; });

$.re_unblock();
$.fancybox({ href: '#re_content'});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rules_engine-0.3.3 app/views/re_plan_workflows/copy.js.erb
rules_engine-0.3.2 app/views/re_plan_workflows/copy.js.erb
rules_engine-0.3.1 app/views/re_plan_workflows/copy.js.erb
rules_engine-0.3.0 app/views/re_plan_workflows/copy.js.erb
rules_engine-0.2.0 rails_generators/templates/app/views/re_plan_workflows/copy.js.erb
rules_engine-0.1.10 rails_generators/templates/app/views/re_plan_workflows/copy.js.erb
rules_engine-0.1.9 rails_generators/templates/app/views/re_plan_workflows/copy.js.erb
rules_engine-0.1.8 rails_generators/templates/app/views/re_plan_workflows/copy.js.erb
rules_engine-0.1.7 rails_generators/templates/app/views/re_plan_workflows/copy.js.erb