From: Moritz Bunkus Date: Thu, 18 Jul 2013 14:04:56 +0000 (+0200) Subject: Pflichtenheftitems: AJAX-Calls für erweitertes Menü gefixt X-Git-Tag: release-3.2.0beta~467^2~104 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=20220c4df0610068c394e5b4d59448c7d835d64a;p=kivitendo-erp.git Pflichtenheftitems: AJAX-Calls für erweitertes Menü gefixt --- diff --git a/js/requirement_spec.js b/js/requirement_spec.js index 61babb806..3e4c485fc 100644 --- a/js/requirement_spec.js +++ b/js/requirement_spec.js @@ -218,9 +218,7 @@ ns.disable_edit_item_commands = function(key, opt) { }; ns.disable_add_function_block_command = function(key, opt) { - if (ns.find_item_id(opt.$trigger)) - return false; - return opt.$trigger.attr('id') != "section-list-empty"; + return opt.$trigger.attr('id') == "sections"; }; ns.cancel_edit_item_form = function(form_id_base, options) {