Skip to content

Commit 35b9b79

Browse files
committed
Revert "do not add rev to page output"
This reverts commit c161b3b. Turns out the revision *is* needed for the inline editor. Fixes #747
1 parent 5349948 commit 35b9b79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/output.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function renderSchemaData($rendercontext)
189189
// add data attributes to the row for inline editing
190190
$renderer->doc = substr(trim($renderer->doc), 0, -1); // remove the last >
191191
$renderer->doc .= ' data-pid="' . hsc($schemadata->getPid()) . '"';
192+
$renderer->doc .= ' data-rev="' . hsc($schemadata->getTimestamp()) . '"';
192193
$renderer->doc .= ' data-rid="' . hsc($schemadata->getRid()) . '"';
193194
$renderer->doc .= ' data-field="' . hsc($field->getColumn()->getFullQualifiedLabel()) . '"';
194195
$renderer->doc .= '>';

0 commit comments

Comments
 (0)