mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
newlines
This commit is contained in:
parent
55536c256f
commit
697ff283fb
@ -3879,6 +3879,7 @@ define([
|
||||
|
||||
// Make sure we can't create a section inside another one
|
||||
if (type === 'section' && arr !== content.order) { return; }
|
||||
|
||||
var model = TYPES[type] || STATIC_TYPES[type];
|
||||
if (!model) { return; }
|
||||
content.form[_uid] = {
|
||||
@ -3899,6 +3900,7 @@ define([
|
||||
|
||||
var controls = Object.keys(TYPES).map(addControl);
|
||||
var staticControls = Object.keys(STATIC_TYPES).map(addControl);
|
||||
|
||||
var buttons = h('div.cp-form-creator-control-inline', [
|
||||
h('div.cp-form-creator-types', controls),
|
||||
h('div.cp-form-creator-types', staticControls)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user