From 58c1950566f9fb03b61461f40074e47614113194 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 23 May 2011 17:48:37 -0500 Subject: Fixed URL parameter parsing. The $.bbq.getState() invocations have been modified not to coerce URL parameter values to avoid parsing error. Ticket #1208 --- install/ui/hbac.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/hbac.js') 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('

'+error_thrown.message+'

'); } - 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', -- cgit