diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-01-31 17:25:14 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:17 +0200 |
commit | 31d7486b88bc0e30c8a84ab4d2f73c35a700dad8 (patch) | |
tree | f28ee432487ef269e285064c5588e4b4168c5205 /install/ui/src/freeipa/field.js | |
parent | 7edf044a440d9a7f60c691811acedfc6a20ecbfe (diff) | |
download | freeipa-31d7486b88bc0e30c8a84ab4d2f73c35a700dad8.tar.gz freeipa-31d7486b88bc0e30c8a84ab4d2f73c35a700dad8.tar.xz freeipa-31d7486b88bc0e30c8a84ab4d2f73c35a700dad8.zip |
Remove IPA.nav usage, obsolete entity.get_primary_key
https://fedorahosted.org/freeipa/ticket/3236
Diffstat (limited to 'install/ui/src/freeipa/field.js')
-rw-r--r-- | install/ui/src/freeipa/field.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js index 9654c8051..8a0e3fbdf 100644 --- a/install/ui/src/freeipa/field.js +++ b/install/ui/src/freeipa/field.js @@ -21,7 +21,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -define(['dojo/_base/array', './ipa', './jquery'], function(array, IPA, $) { + +define(['dojo/_base/array', './ipa', './jquery', './navigation'], + function(array, IPA, $, navigation) { IPA.field = function(spec) { spec = spec || {}; @@ -735,8 +737,8 @@ IPA.link_field = function(spec) { that.on_link_clicked = function() { - IPA.nav.show_entity_page( - that.other_entity, + navigation.show_entity( + that.other_entity.name, 'default', that.other_pkeys()); }; |