Revision 94f7a4b2
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
js/kivi.TimeRecording.js | ||
---|---|---|
27 | 27 |
$('#time_recording_customer_id_name').prop('disabled', false); |
28 | 28 |
$('#time_recording_project_id').data('project_picker').set_item({}); |
29 | 29 |
$('#time_recording_project_id_name').prop('disabled', false); |
30 |
$('#time_recording_project_id ~ .ppp_popup_button').show() |
|
30 | 31 |
return; |
31 | 32 |
} |
32 | 33 |
|
... | ... | |
36 | 37 |
$('#time_recording_customer_id_name').prop('disabled', true); |
37 | 38 |
$('#time_recording_project_id').data('project_picker').set_item(data.project); |
38 | 39 |
$('#time_recording_project_id_name').prop('disabled', true); |
40 |
$('#time_recording_project_id ~ .ppp_popup_button').hide() |
|
39 | 41 |
}); |
40 | 42 |
}; |
41 | 43 |
|
... | ... | |
65 | 67 |
} |
66 | 68 |
if ("project" === elt) { |
67 | 69 |
$('#time_recording_project_id_name').prop('disabled', true); |
70 |
setTimeout(function() {$('#time_recording_project_id ~ .ppp_popup_button').hide();}, 100); |
|
68 | 71 |
} |
69 | 72 |
}); |
70 | 73 |
}; |
Auch abrufbar als: Unified diff
Zeiterfassung: Eingaben: Wenn Projekt-Picker gesperrt, dann auch Lupe nicht erlauben