summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.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/widget.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/widget.js')
-rw-r--r--install/ui/widget.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 94c75d42b..6b211d6f4 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('<p>Error: '+error_thrown.name+'</p>');
- summary.append('<p>'+error_thrown.message+'</p>');
- }
-
- 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<spec.columns; i++) {
that.create_column(spec.columns[i]);