Sha256: ed60b4d88650b9e66c54c0b3bc1508f955805a28e02dc516c4559aea892f2c4b
Contents?: true
Size: 1011 Bytes
Versions: 14
Compression:
Stored size: 1011 Bytes
Contents
$(document).ready(function() { get_workflow_plan = function(page) { var id = $('.re-menu-workflow-plan:first').attr('id').replace('re_menu_workflow_plan_', '') $.get('/re_workflows/' + id + '/plan?page=' + page, null, null, 'script'); } get_workflow_plan(1); $('.re-xtra-workflow-next-enabled').live('click', function() { var page = $(this).attr('href').replace('#', '') $('#re_workflow_plan').hide(); $('#re_workflow_plan_pending').show(); get_workflow_plan(page); return false; }); $('.re-xtra-workflow-next-disabled').live('click', function() { return false; }); $('.re-xtra-workflow-prev-enabled').live('click', function() { var page = $(this).attr('href').replace('#', '') $('#re_workflow_plan').hide(); $('#re_workflow_plan_pending').show(); get_workflow_plan(page); return false; }); $('.re-xtra-workflow-prev-disabled').live('click', function() { return false; }); });
Version data entries
14 entries across 13 versions & 1 rubygems