diff options
author | Adam Young <ayoung@redhat.com> | 2011-01-26 20:58:06 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-27 16:59:17 -0500 |
commit | d7f4d616df836f2f8590c8fd82ab165bd2f97cd5 (patch) | |
tree | 3f9fd542332e0a611d685c1b37898e966b4c5ba3 /ipalib | |
parent | 7462a852bd7f17c5525cf5b912df2932bc55e19e (diff) | |
download | freeipa-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.py | 3 |
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')), |