mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-29 21:30:04 +01:00
fixed tabel rendering bug
This commit is contained in:
parent
b2f8d6abdf
commit
25efa0fd38
@ -283,14 +283,17 @@ void TableRenderer::renderProperties(const Table* pTable, const RenderContext& c
|
||||
pTable->cellValueChanged.getServerCallbackPos());
|
||||
else
|
||||
written = Utility::writeJSEvent(ostr, EV_AFTEREDIT, modList);
|
||||
if (written)
|
||||
ostr << ",";
|
||||
if (pTable->beforeCellValueChanged.willDoServerCallback())
|
||||
written = Utility::writeJSEvent(ostr, EV_BEFORECELLVALUECHANGED, modList,
|
||||
TableRenderer::createBeforeCellValueChangedServerCallback(pTable),
|
||||
pTable->beforeCellValueChanged.getServerCallbackPos());
|
||||
else
|
||||
written = Utility::writeJSEvent(ostr, EV_AFTEREDIT, modList);
|
||||
if (pTable->beforeCellValueChanged.hasJavaScriptCode())
|
||||
{
|
||||
if (written)
|
||||
ostr << ",";
|
||||
if (pTable->beforeCellValueChanged.willDoServerCallback())
|
||||
written = Utility::writeJSEvent(ostr, EV_BEFORECELLVALUECHANGED, modList,
|
||||
TableRenderer::createBeforeCellValueChangedServerCallback(pTable),
|
||||
pTable->beforeCellValueChanged.getServerCallbackPos());
|
||||
else
|
||||
written = Utility::writeJSEvent(ostr, EV_BEFORECELLVALUECHANGED, modList);
|
||||
}
|
||||
}
|
||||
|
||||
if (pTable->cellClicked.hasJavaScriptCode())
|
||||
|
Loading…
x
Reference in New Issue
Block a user