Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f0da3ee9

Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt

  • ID f0da3ee98a35812f3982c5824aa7c170ae8cbd61
  • Vorgänger 2a7034e4
  • Nachfolger cc1f1d85

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.

Unterschiede anzeigen:

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