]> wagnertech.de Git - kivitendo-erp.git/blobdiff - js/requirement_spec.js
Pflichtenheftitems: Umstellung submit_ajax_form()
[kivitendo-erp.git] / js / requirement_spec.js
index c4daca44760e1f77bc614b88da085debad389c3f..ac96fc2ad19cc1254e20a509fc5afef6fae55319 100644 (file)
@@ -221,18 +221,6 @@ function disable_add_function_block_command(key, opt) {
   return opt.$trigger.attr('id') != "section-list-empty";
 }
 
-function submit_edit_item_form(id_base) {
-  var id   = $('#' + id_base + '_id').val();
-  var url  = "controller.pl?" + $('#' + id_base + '_form').serialize();
-  var data = {
-    action:      'RequirementSpecItem/ajax_' + (id ? 'update' : 'create'),
-    id:          id,
-    form_prefix: id_base
-  };
-  $.post(url, data, eval_json_result);
-  return true;
-}
-
 function cancel_edit_item_form(form_id_base, options) {
   $('#' + form_id_base + '_form').remove();
   if (!options)