Advanced Search: Fix shortcut menu with sub-classes

SVN:b1162[5465]
This commit is contained in:
Eric Espié
2018-03-20 12:50:30 +00:00
parent e33596960a
commit e120b149dc
2 changed files with 6 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ function UpdateFileName(id, sNewFileName) {
/**
* Reload a search form for the specified class
*/
function ReloadSearchForm(divId, sClassName, sBaseClass, sContext) {
function ReloadSearchForm(divId, sClassName, sBaseClass, sContext, sTableId) {
var oDiv = $('#ds_'+divId);
oDiv.block();
// deprecated in jQuery 1.8
@@ -196,6 +196,7 @@ function ReloadSearchForm(divId, sClassName, sBaseClass, sContext) {
oMap.className = sClassName;
oMap.baseClass = sBaseClass;
oMap.currentId = divId;
oMap._table_id_ = sTableId;
oMap.action = sAction;
$.post(GetAbsoluteUrlAppRoot()+'pages/ajax.render.php?'+sContext, oMap,