mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #42757
[Bug 1693061] Re: Edit access screen needs to check if data is saved before leaving
To check if we have unsaved changes in a pieform we use the FormChangeChecker defined in js/formchangechecker.js
This function just checks the changes we make in each <input> element inside the form.
In all other pieform elements, there are hidden input tags that are checked by the FormChangeChecker.
But this is not the case of the selects used in the Edit access screen. They don't have any hidden <input> so the FormChangeChecker won't not say anything when we try lo leave the page.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1693061
Title:
Edit access screen needs to check if data is saved before leaving
Status in Mahara:
New
Bug description:
In the Share | Edit access screen (/view/accessurl.php) of a page,
while we are working on it, we can leave the page at any time without
being reminded that we have unsaved changes.
This should not happen, a message needs to be display for us to
confirm if we want to leave and lose the changes, or stay and continue
working.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1693061/+subscriptions
References