mirror of https://github.com/apache/cloudstack.git
Added load vs refresh context for dataProviders
CLOUDSTACK-5384
This commit is contained in:
parent
db8e2e5552
commit
ee607646c9
|
|
@ -1159,7 +1159,7 @@
|
|||
tab: targetTabID,
|
||||
id: args.id,
|
||||
jsonObj: jsonObj,
|
||||
context: args.context,
|
||||
context: $.extend(args.context, options),
|
||||
response: {
|
||||
success: function(args) {
|
||||
if (options.newData) {
|
||||
|
|
@ -1474,7 +1474,8 @@
|
|||
if ($target.closest('div.toolbar div.refresh').size()) {
|
||||
loadTabContent(
|
||||
$target.closest('div.detail-view').find('div.detail-group:visible'),
|
||||
$target.closest('div.detail-view').data('view-args')
|
||||
$target.closest('div.detail-view').data('view-args'),
|
||||
{ refresh: true }
|
||||
);
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue