diff --git a/include/staff/templates/form-manage.tmpl.php b/include/staff/templates/form-manage.tmpl.php index 9794bdbdda6a3e0687f8803e49eee563b85c9a06..2874181d6f8c15981de6be708d3d64e8d7f4f278 100644 --- a/include/staff/templates/form-manage.tmpl.php +++ b/include/staff/templates/form-manage.tmpl.php @@ -16,7 +16,7 @@ foreach ($forms as $e) { ?> $current_list[] = $e->get('form_id'); if ($e->getDynamicForm()->get('type') == 'G') { ?> <div class="button-group"> - <div class="delete"><a href="#"><i class="icon-trash"></i></a></div> + <div class="delete"><a href="#" onclick="$(this).closest('div.row-item').remove();$('#delete-warning').show();"><i class="icon-trash"></i></a></div> </div> <?php } ?> </div>