Revision bdf33d88
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
js/requirement_spec.js | ||
---|---|---|
326 | 326 |
// ------------------------------------------------------------------------- |
327 | 327 |
|
328 | 328 |
ns.standard_time_cost_estimate_ajax_call = function(key, opt) { |
329 |
if ((key == 'cancel') && !confirm(kivi.t8('Do you really want to cancel?'))) |
|
329 |
if (key == 'cancel') { |
|
330 |
if (confirm(kivi.t8('Do you really want to cancel?'))) { |
|
331 |
$('#time_cost_estimate').show(); |
|
332 |
$('#time_cost_estimate_form_container').remove(); |
|
333 |
} |
|
330 | 334 |
return true; |
335 |
} |
|
331 | 336 |
|
332 | 337 |
var data = "action=RequirementSpec/ajax_" + key + "_time_and_cost_estimate&"; |
333 | 338 |
|
Auch abrufbar als: Unified diff
Pflichtenheftkostenschätzung: "Abbrechen" ohne AJAX-Call nur in JS