Revision b8a90763
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
js/requirement_spec.js | ||
---|---|---|
469 | 469 |
return true; |
470 | 470 |
} |
471 | 471 |
|
472 |
var data = "action=RequirementSpec/ajax_" + key + "_time_and_cost_estimate&"; |
|
472 |
var add_data = ''; |
|
473 |
if (key == 'save_keep_open') { |
|
474 |
key = 'save'; |
|
475 |
add_data = 'keep_open=1&'; |
|
476 |
} |
|
477 |
|
|
478 |
var data = "action=RequirementSpec/ajax_" + key + "_time_and_cost_estimate&" + add_data; |
|
473 | 479 |
|
474 | 480 |
if (key == 'save') |
475 | 481 |
data += $('#edit_time_cost_estimate_form').serialize() |
... | ... | |
771 | 777 |
items: $.extend({ |
772 | 778 |
heading: { name: kivi.t8('Time/cost estimate actions'), className: 'context-menu-heading' } |
773 | 779 |
, save: { name: kivi.t8('Save'), icon: "save", callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call } |
780 |
, save_keep_open: { name: kivi.t8('Save and keep open'), icon: "save", callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call } |
|
774 | 781 |
, cancel: { name: kivi.t8('Cancel'), icon: "close", callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call } |
775 | 782 |
}, general_actions) |
776 | 783 |
}); |
Auch abrufbar als: Unified diff
Pflichtenheftzeitschätzung: neuer Menüeintrag "Speichern und geöffnet lassen"