projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28b0af
)
Pflichtenheftitems: AJAX-Calls für erweitertes Menü gefixt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 18 Jul 2013 14:04:56 +0000
(16:04 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:09:07 +0000
(13:09 +0200)
js/requirement_spec.js
patch
|
blob
|
history
diff --git
a/js/requirement_spec.js
b/js/requirement_spec.js
index
61babb8
..
3e4c485
100644
(file)
--- 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) {