Project

General

Profile

Actions

Feature #7495

closed

data-enable-save-button: detect 'modified' too

Added by Carsten Rose over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Benjamin Baer
Target version:
Start date:
16.12.2018
Due date:
26.09.2019
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Es gibt ein Tag auf einem Form, 'data-enable-save-button', das verwendet wird um den Save Button direkt beim Form-Load aktiv zu schalten (anstelle von 'bei erster Modifikation'). In QFQ/Form heisst das Attribute 'saveButtonActive'.

Rafi hat das so implementiert (soweit ich mich erinnere) das er in qfq.js in Form einfach 'dirty=yes' setzt.

Das hat einen unschoenen Effekt: sobald man das Form aufruft und dann im Browser 'Back' oder Form-Close klickt, wird man gefragt ob man speichern moechte. Man hat aber gar nichts geaendert!

Wenn es nicht zu viel Aufwand ist, bitte umstellen das 'dirty' wirklich 'dirty' meint und der Button trotzdem, auf Wunsch, aktiviert werden kann.


Related issues

Related to QFQ - Feature #9019: Unveränderte Formulare speichern Closed04.09.2019

Actions
Related to QFQ - Bug #9053: Eingabe von tablesorter-filter in einem Formular aktiviert Save-ButtonClosedBenjamin Baer07.09.201925.10.2019

Actions
Actions

Also available in: Atom PDF