Item11610: Add "Saving" dialog using System.JQueryBlockUI similar to Save and Continue
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
On a local install where I work I make use of a Wiki App for capturing requests which in turn uses the AUTOINC feature to generate the topic name. Sometimes the save can be slow and users continue to click on the save button which results in a number of topics being generated.
It would be very useful to have something similar to the "Save and Continue" which presents the user with a "Saving" dialog.
From
http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2012-02-27,Mon&sel=506#l502
padraig_lennon Just wondering if there was much involved in adding the model window to your MetaCommentPlugin? I think it would be great to have it by default when saving a topic.. I'm constantly running into issues where users doubleclick on the save button when creating an auto-generated topic...
thus creating a number of empty topics.. [14:40]
MichaelDaum you mean this "Wait a sec, I am about to do this and this ..." bubble? [14:41]
padraig_lennon Yes exactly.. [14:41]
MichaelDaum that's pretty easy to make use of: see System.JQueryBlockUI
Maybe this could be made optional if other users do not want it?
--
PadraigLennon - 06 Mar 2012
Try this patch:
--- pub/System/NatEditPlugin/edit.uncompressed.js (revision 14214)
+++ pub/System/NatEditPlugin/edit.uncompressed.js (working copy)
@@ -188,7 +188,10 @@
$("#save").click(function() {
editAction = "save";
if (submitHandler()) {
+ $.blockUI({message:'<h1> Saving ... </h1>'});
$editForm.submit();
+ } else {
+ $.unblockUI();
}
Will be part of the next release.
--
MichaelDaum - 06 Mar 2012
Found an issue with the "Saving" change you made to the
NatEditPlugin the other day.. If I am editing a topic with a form and forget to fill out a formfield
NatEditPlugin will throw an error stating that mandatory fields are not filled in but the "Saving" persists and the only way to get out of the situation is to completely refresh the topic (and losing updates to the topic)
Here is a screenshot