summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2022-04-25 16:17:25 +0530
committerRashesh Padia <rasheshpadia419@gmail.com>2022-05-13 17:28:04 +0530
commit2e186514f49e493923b848585563b501224880a6 (patch)
tree73bb4aad750998387dd0fbfe4d4ebd4e7ed4a596
parentCI: codeql-analysis: work with core co-22.05 assets (diff)
downloadonline-2e186514f49e493923b848585563b501224880a6.tar.gz
online-2e186514f49e493923b848585563b501224880a6.zip
framed.doc.html: fix: cannot change UI view
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Ifa842f64ed70137f06ebdfc053fa5a3afd2f4185
-rw-r--r--browser/src/map/handler/Map.WOPI.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/browser/src/map/handler/Map.WOPI.js b/browser/src/map/handler/Map.WOPI.js
index 836bbfb442..97d056a148 100644
--- a/browser/src/map/handler/Map.WOPI.js
+++ b/browser/src/map/handler/Map.WOPI.js
@@ -451,9 +451,7 @@ L.Map.WOPI = L.Handler.extend({
}
}
else if (msg.MessageId === 'Action_ChangeUIMode') {
- if (msg.Values && msg.Values.Mode !== null && msg.Values.Mode !== undefined) {
- this._map.fire('changeuimode', {mode: msg.Values.Mode, force: false});
- }
+ this._map.uiManager.onChangeUIMode({mode: msg.Values.Mode, force: true});
}
},