mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed URL parameter parsing.
The $.bbq.getState() invocations have been modified not to coerce URL parameter values to avoid parsing error. Ticket #1208
This commit is contained in:
committed by
Adam Young
parent
ac23fa7e54
commit
58c1950566
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user