1 parent
d14ef576c3
commit
f1e46f36d2
1 file changed
+8
-4
@@ -536,14 +536,18 @@ IPA.details_refresh = function() {
|
||||
|
||||
var that = this;
|
||||
|
||||
that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
|
||||
that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) ;
|
||||
|
||||
var command = IPA.command({
|
||||
'method': that.entity_name+'_show',
|
||||
'args': [that.pkey],
|
||||
'options': { 'all': true, 'rights': true }
|
||||
method: that.entity_name+'_show',
|
||||
args: [],
|
||||
options: { 'all': true, 'rights': true }
|
||||
});
|
||||
|
||||
if (that.pkey){
|
||||
command.args = [that.pkey];
|
||||
}
|
||||
|
||||
command.on_success = function(data, text_status, xhr) {
|
||||
that.load(data.result.result);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user