Revision f0da3ee9
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
js/kivi.TimeRecording.js | ||
---|---|---|
};
|
||
|
||
});
|
||
|
||
$(function() {
|
||
$('#time_recording_project_id').on('set_item:ProjectPicker', function(){ kivi.TimeRecording.project_changed() });
|
||
});
|
templates/webpages/time_recording/form.html | ||
---|---|---|
</tr>
|
||
<tr>
|
||
<th align="right">[% 'Project' | $T8 %]</th>
|
||
<td>[% P.project.picker('time_recording.project_id', SELF.time_recording.project_id, description_style='both', style='width: 300px', onchange='kivi.TimeRecording.project_changed()') %]</td>
|
||
<td>[% P.project.picker('time_recording.project_id', SELF.time_recording.project_id, description_style='both', style='width: 300px') %]</td>
|
||
</tr>
|
||
<tr></tr><tr></tr>
|
||
<tr>
|
Auch abrufbar als: Unified diff
Zeiterfassung: Eingabe: Projekt-Wechsel mit on('set_item:...') registrieren, …
sonst wird das Event nicht ausgelöst,wenn man im Popup-Dialog ein Projekt
wählt.