Skip to content

Commit df18921

Browse files
author
Marco Grüter
committed
prevent nested nesters from getting too fancy - apply the not-fancy class in ajaxSuccess
1 parent 7aebee7 commit df18921

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/js/pages-page.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@
230230
this.$pageTree.treeView('markActive', tabId)
231231
$('[data-control=filelist]', this.$sidePanel).fileList('markActive', tabId)
232232

233+
// Disable fancy layout on nested forms in repeater items
234+
$('.field-repeater-item .form-tabless-fields', $tabPane).addClass('not-fancy');
235+
233236
var objectType = $('input[name=objectType]', $form).val()
234237
if (objectType.length > 0 &&
235238
(context.handler == 'onSave' || context.handler == 'onCommit' || context.handler == 'onReset')

0 commit comments

Comments
 (0)