%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %>
<%
dialog_id = "job_where_used"
grid_id = "job_where_used_grid"
%>
<%= javascript_tag "secret_token = '#{form_authenticity_token}'" %>
',
actsOn: 'one',
actionUrl: '<%= edit_job_path(-1) %>'
},{
iconCls: 'icon_edit',
text: '<%= t ".prerequisites" %>',
actsOn: 'one',
actionUrl: '<%= edit_prerequisites_job_path(-1) %>'
},{
iconCls: 'icon_delete',
text: '<%= t ".delete_job" %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= job_path(-1) %>',
ajaxRequest: true,
confirmText: '<%= t ".delete_confirmation" %>'
}]}"
tbar="{}"
url="<%= jobs_path(:format => 'json', :prerequisite_id => job_id, :prerequisite_type => 'Job') %>" style="height:100%;">