loleaflet/dist/toolbar/toolbar.js | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 3cefa3c6e4d2837ea204f1013ea6891306df0cb5 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun May 8 10:52:17 2016 -0400 loleaflet: announce the current part after taking editing Make sure to sync both lokit and viewers as to which part is being edited when a previously-viewer takes editing. Change-Id: Ia70f647a26029447bb4360633f79233fa9596059 Reviewed-on: https://gerrit.libreoffice.org/24768 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index fbbaa33..58a6cb5 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -280,6 +280,8 @@ function onClick(id) { else if (id === 'takeedit') { if (!item.checked) { map._socket.sendMessage('takeedit'); + // And advertise which page we're on. + map._socket.sendMessage('setclientpart part=' + map._docLayer._selectedPart); } } else if (id === 'searchprev') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits