#909: faster display for the "details" of an object:

- object's history is only loaded when the "History" tab is clicked
- by default the history display is truncated to the 'max_history_length' (= 50) latest modifications

SVN:trunk[3145]
This commit is contained in:
Denis Flaven
2014-05-06 15:15:57 +00:00
parent d950422912
commit b095c6b1a3
5 changed files with 86 additions and 5 deletions

View File

@@ -374,4 +374,14 @@ function ShortcutListDlg(sOQL, sDataTableId, sContext)
$('body').append(data);
});
return false;
}
function DisplayHistory(sSelector, sFilter, iCount, iStart)
{
$(sSelector).block();
var oParams = { operation: 'history_from_filter', filter: sFilter, start: iStart, count: iCount };
$.post(GetAbsoluteUrlAppRoot()+'pages/ajax.render.php', oParams, function(data) {
$(sSelector).html(data).unblock();
}
);
}