search for: confirmation_dialog

Displaying 1 result from an estimated 1 matches for "confirmation_dialog".

2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
...ick="host_action('disable')"> <%= image_tag "icon_suspend_11px.png" %> Disable Host @@ -23,6 +26,7 @@ :rel=>"facebox[.bolder]", :class=>"selection_facebox" %> <%- end -%> <%- end -%> +<%= confirmation_dialog("confirm_delete", "Are you sure?", "delete_host()") %> <script type="text/javascript"> function host_action(action) { @@ -39,6 +43,19 @@ } }, 'json'); } + function delete_host() + { + $(document...