summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-23 17:48:37 -0500
committerAdam Young <ayoung@redhat.com>2011-05-26 20:35:06 -0400
commit58c1950566f9fb03b61461f40074e47614113194 (patch)
tree16c1918fd7a9a4a0288c121a2fe092e9e8dea4c8 /install/ui/hbac.js
parentac23fa7e54d551e624caca7d27956d5198203456 (diff)
downloadfreeipa-58c1950566f9fb03b61461f40074e47614113194.tar.gz
freeipa-58c1950566f9fb03b61461f40074e47614113194.tar.xz
freeipa-58c1950566f9fb03b61461f40074e47614113194.zip
Fixed URL parameter parsing.
The $.bbq.getState() invocations have been modified not to coerce URL parameter values to avoid parsing error. Ticket #1208
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index 93ff7fbd5..aa11879b8 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -341,7 +341,7 @@ IPA.hbacrule_details_facet = function (spec) {
that.update = function() {
- var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
+ var pkey = $.bbq.getState(that.entity_name+'-pkey');
var modify_operation = {
'execute': false,
@@ -837,7 +837,7 @@ IPA.hbacrule_accesstime_widget = function (spec) {
that.add = function() {
- var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
+ var pkey = $.bbq.getState(that.entity_name+'-pkey');
var title = IPA.messages.association.add;
title = title.replace('${entity}', IPA.metadata.objects[that.entity_name].label);
title = title.replace('${primary_key}', pkey);
@@ -946,7 +946,7 @@ IPA.hbacrule_accesstime_widget = function (spec) {
return;
}
- var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
+ var pkey = $.bbq.getState(that.entity_name+'-pkey');
title = IPA.messages.association.remove;
title = title.replace('${entity}', IPA.metadata.objects[that.entity_name].label);
title = title.replace('${primary_key}', pkey);
@@ -1002,7 +1002,7 @@ IPA.hbacrule_accesstime_widget = function (spec) {
summary.append('<p>'+error_thrown.message+'</p>');
}
- var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
+ var pkey = $.bbq.getState(that.entity_name+'-pkey');
IPA.command({
entity: that.entity_name,
method: 'show',