summaryrefslogtreecommitdiffstats
path: root/install/ui/dns.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-26 17:57:39 -0500
committerAdam Young <ayoung@redhat.com>2011-05-27 13:06:57 -0400
commitaa29a8a769c62b07cc4e6d82fc79846505cc9fa3 (patch)
tree2131098b113c2bfecf1830feff0c08b3b2d1aabc /install/ui/dns.js
parent17c3f9e84efcbeb3b5ae1de83d799974de3bb078 (diff)
downloadfreeipa-aa29a8a769c62b07cc4e6d82fc79846505cc9fa3.tar.gz
freeipa-aa29a8a769c62b07cc4e6d82fc79846505cc9fa3.tar.xz
freeipa-aa29a8a769c62b07cc4e6d82fc79846505cc9fa3.zip
Added Update and Reset buttons into Dirty dialog.
The Dirty dialogs have been combined into IPA.dirty_dialog. It provides the Update and Reset buttons with customizable callback. Previously the widget's dirty status is computed by comparing the old values with the new values. This method is sometimes inaccurate, so the is_dirty() method has been modified to simply return a flag which is set to true if the widget is changed. Ticket #896.
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r--install/ui/dns.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 1c0ff6eef..ff4294524 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -329,12 +329,6 @@ IPA.records_facet = function(spec) {
dialog.open(that.container);
};
- that.is_dirty = function() {
- var pkey = $.bbq.getState(that.entity_name+'-pkey');
- var record = $.bbq.getState(that.entity_name+'-record');
- return pkey != that.pkey || record != that.record;
- };
-
that.create_header = function(container) {
that.facet_create_header(container);