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/widget.js | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index 94c75d42..6b211d6f 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1374,29 +1374,6 @@ IPA.table_widget = function (spec) { } }; - that.refresh = function() { - - function on_success(data, text_status, xhr) { - that.load(data.result.result); - } - - function on_error(xhr, text_status, error_thrown) { - var summary = $('span[name=summary]', that.tfoot).empty(); - summary.append('

Error: '+error_thrown.name+'

'); - summary.append('

'+error_thrown.message+'

'); - } - - var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || ''; - IPA.command({ - entity: that.entity_name, - method: 'show', - args: [pkey], - options: {'all': true, 'rights': true}, - on_success: on_success, - on_error: on_error - }).execute(); - }; - if (spec.columns) { for (var i=0; i