diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-02-05 13:33:58 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:18 +0200 |
commit | 99fc3d597af0cf07db1379b87ef2f635100dc89f (patch) | |
tree | f900f815c46bdd3d4a8cf654dc787d1645517f65 /install/ui/src/freeipa/dns.js | |
parent | a3e0e671a1454e690856e0f995896f51f84928f7 (diff) | |
download | freeipa-99fc3d597af0cf07db1379b87ef2f635100dc89f.tar.gz freeipa-99fc3d597af0cf07db1379b87ef2f635100dc89f.tar.xz freeipa-99fc3d597af0cf07db1379b87ef2f635100dc89f.zip |
Remove IPA.current_entity usage
https://fedorahosted.org/freeipa/ticket/3236
Diffstat (limited to 'install/ui/src/freeipa/dns.js')
-rw-r--r-- | install/ui/src/freeipa/dns.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js index 525debb5b..8d6f96fa3 100644 --- a/install/ui/src/freeipa/dns.js +++ b/install/ui/src/freeipa/dns.js @@ -2032,22 +2032,15 @@ IPA.dns.record_type_table_widget = function(spec) { }; that.reload_facet = function(data) { - - //FIXME: seems as bad approach - var facet = IPA.current_entity.get_facet(); - facet.load(data); + that.facet.load(data); }; that.refresh_facet = function() { - - //FIXME: seems as bad approach - var facet = IPA.current_entity.get_facet(); - facet.refresh(); + that.facet.refresh(); }; that.notify_facet_update = function() { - var facet = IPA.current_entity.get_facet(); - facet.on_update.notify(); + that.facet.on_update.notify(); }; that.update = function(values) { |