* Fix requirement js error.
This commit is contained in:
@@ -33,7 +33,7 @@ window.onRenderCell = function(result, {row, col})
|
||||
{
|
||||
for(index in row.data.actions)
|
||||
{
|
||||
if(row.data.actions[index].name == 'recall') row.data.actions[index].hint = (row.data.status == 'changing' ? recallChange : recall
|
||||
if(row.data.actions[index].name == 'recall') row.data.actions[index].hint = row.data.status == 'changing' ? recallChange : recall;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
@@ -82,7 +82,7 @@ dtable
|
||||
set::userMap($users),
|
||||
set::fixedLeftWidth('44%'),
|
||||
set::checkable($canBatchAction ? true : false),
|
||||
set::onRenderCell(jsRaw('window.renderCell')),
|
||||
set::onRenderCell(jsRaw('window.onRenderCell')),
|
||||
set::orderBy($orderBy),
|
||||
set::sortLink(createLink('my', $app->rawMethod, "mode={$mode}&type={$type}¶m={$param}&orderBy={name}_{sortType}&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}")),
|
||||
set::footToolbar($footToolbar),
|
||||
|
||||
Reference in New Issue
Block a user