summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-27 20:30:22 -0500
committerAdam Young <ayoung@redhat.com>2011-01-28 10:37:49 -0500
commitc75f332af9225da285c54f0b09d87f28e3a2185b (patch)
tree9e705bfd3dba21dd92d77fc994392d1bbcc8d119 /install/ui/ipa.js
parentffcf10c832de5f99dd96d1c77713b875ed1e2760 (diff)
downloadfreeipa-c75f332af9225da285c54f0b09d87f28e3a2185b.tar.gz
freeipa-c75f332af9225da285c54f0b09d87f28e3a2185b.tar.xz
freeipa-c75f332af9225da285c54f0b09d87f28e3a2185b.zip
aci rights widget
Fixes is_dirty and save https://fedorahosted.org/freeipa/ticket/77 https://fedorahosted.org/freeipa/ticket/667
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r--install/ui/ipa.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js
index 128413b1e..a5ad6d062 100644
--- a/install/ui/ipa.js
+++ b/install/ui/ipa.js
@@ -155,9 +155,7 @@ var IPA = ( function () {
}
}
return true;
- }
-
-
+ };
that.show_page = function (entity_name, facet_name) {
if (!IPA.test_dirty()){
@@ -170,19 +168,19 @@ var IPA = ( function () {
};
that.switch_and_show_page = function (this_entity, facet_name, pkey) {
-
if (!IPA.test_dirty()){
return false;
}
if (!pkey){
that.show_page(this_entity, facet_name);
- return;
+ return false;
}
var state = {};
state[this_entity+'-pkey'] = pkey;
state[this_entity + '-facet'] = facet_name;
$.bbq.pushState(state);
+ return true;
};
return that;