summaryrefslogtreecommitdiffstats
path: root/install/ui/navigation.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/navigation.js')
-rw-r--r--install/ui/navigation.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/install/ui/navigation.js b/install/ui/navigation.js
index 022439973..761173425 100644
--- a/install/ui/navigation.js
+++ b/install/ui/navigation.js
@@ -137,7 +137,6 @@ IPA.navigation = function(spec) {
$.bbq.pushState(params);
};
- dialog.init();
dialog.open(that.container);
return false;
@@ -230,10 +229,14 @@ IPA.navigation = function(spec) {
}
if (pkeys) {
- var current_entity = entity;
- while (current_entity){
- state[current_entity.name + '-pkey'] = pkeys.pop();
- current_entity = current_entity.containing_entity;
+ if (pkeys instanceof Array){
+ var current_entity = entity;
+ while (current_entity){
+ state[current_entity.name + '-pkey'] = pkeys.pop();
+ current_entity = current_entity.containing_entity;
+ }
+ }else{
+ state[entity.name + '-pkey'] = pkeys;
}
}
@@ -394,7 +397,7 @@ IPA.navigation = function(spec) {
}
entity_container.css('display', 'block');
- tab.entity.setup(tab.content);
+ tab.entity.display(tab.content);
}
};