[SSE] Internal mode

This commit is contained in:
Julia Radzhabova 2019-10-08 15:12:15 +03:00
parent dea4d0a4c1
commit f588e9b67a
3 changed files with 13 additions and 4 deletions

View file

@ -770,6 +770,9 @@
}
}
if (config.editorConfig && (config.editorConfig.mode == 'editdiagram' || config.editorConfig.mode == 'editmerge'))
params += "&internal=true";
if (config.frameEditorId)
params += "&frameEditorId=" + config.frameEditorId;

View file

@ -238,8 +238,7 @@
<ul><li/><li class="space"/><li style="width: 240px;"/><li class="space"/><li style="width: 160px;"/><li class="space"/><li style="width: 390px;"/></ul>
</div>
<div class="placeholder">
<div class="columns"></div>
<div class="columns"></div>
<div class="columns"></div><div class="columns"></div>
</div>
</div>

View file

@ -243,14 +243,21 @@
<ul><li/><li class="space"/><li style="width: 240px;"/><li class="space"/><li style="width: 160px;"/><li class="space"/><li style="width: 390px;"/></ul>
</div>
<div class="placeholder">
<div class="columns"></div>
<div class="columns"></div>
<div class="columns"></div><div class="columns"></div>
</div>
</div>
<div id="viewport"></div>
<script>
var params = getUrlParams(),
internal = params["internal"] == 'true';
if (internal) {
document.querySelector('.brendpanel').remove();
document.querySelector('.sktoolbar').remove();
}
if (stopLoading) {
document.body.removeChild(document.getElementById('loading-mask'));
} else {