[SSE] Internal mode
This commit is contained in:
parent
dea4d0a4c1
commit
f588e9b67a
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue