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 <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
702dd48f1f
commit
3cefa3c6e4
1 changed files with 2 additions and 0 deletions
2
loleaflet/dist/toolbar/toolbar.js
vendored
2
loleaflet/dist/toolbar/toolbar.js
vendored
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue