summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-26 20:58:06 -0500
committerAdam Young <ayoung@redhat.com>2011-01-27 16:59:17 -0500
commitd7f4d616df836f2f8590c8fd82ab165bd2f97cd5 (patch)
tree3f9fd542332e0a611d685c1b37898e966b4c5ba3 /ipalib
parent7462a852bd7f17c5525cf5b912df2932bc55e19e (diff)
downloadfreeipa-d7f4d616df836f2f8590c8fd82ab165bd2f97cd5.tar.gz
freeipa-d7f4d616df836f2f8590c8fd82ab165bd2f97cd5.tar.xz
freeipa-d7f4d616df836f2f8590c8fd82ab165bd2f97cd5.zip
dirty
If a page is dirty, do not allow additional navigation until changes are saved or committed https://fedorahosted.org/freeipa/ticket/726
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index ab53a0538..66ad45f2a 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -122,7 +122,8 @@ class i18n_messages(Command):
"If this is your first time running the IPA Web UI"+
"<a href='/ipa/errors/ssbrowser.html'> "+
"Follow these directions</a> to configure your browser.")
- }
+ },
+ "dirty":_("This page has unsaved changes. Please save or revert."),
}
has_output = (
Output('messages', dict, doc=_('Dict of I18N messages')),