summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-23 12:35:45 -0600
committerAdam Young <ayoung@redhat.com>2011-03-02 12:26:24 -0500
commit697af3e1f8b4102df2bde5c7d04f8e7d4dad4369 (patch)
tree81ccaef5abec658748833695ee184a4f89fc2214 /install/ui/ipa.js
parentd37bb6f925cace69f15c8e548a69121bfb00be5e (diff)
downloadfreeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.tar.gz
freeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.tar.xz
freeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.zip
Save changes before modifying association.
In a details page, usually any changes done to the fields will not be applied until the user clicks the Update button. However, if the page contains an association table, any addition/deletion to the table will be applied immediately. To avoid any confusion, the user is now required to save or reset all changes to the page before modifying the association. A dialog box will appear if the page contains any unsaved changes.
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r--install/ui/ipa.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js
index 2c07d742..ec15332f 100644
--- a/install/ui/ipa.js
+++ b/install/ui/ipa.js
@@ -137,7 +137,7 @@ var IPA = ( function () {
var facet = IPA.current_entity.facets_by_name[facet_name];
if (facet.is_dirty()){
var message_box = $("<div/>",{
- html: IPA.messages.dirty
+ html: IPA.messages.dialogs.dirty_message
}).
appendTo($("#navigation"));
@@ -148,7 +148,7 @@ var IPA = ( function () {
};
message_box.dialog({
- title: 'Dirty',
+ title: IPA.messages.dialogs.dirty_title,
modal:true,
width: '20em',
buttons: buttons