mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fix Repeater max & min client side validation when using groups (#3953)
Credit to @c2webstudio.
This commit is contained in:
parent
7a277b4b9c
commit
9f63ad2739
@ -84,6 +84,7 @@
|
||||
}
|
||||
|
||||
Repeater.prototype.clickAddGroupButton = function(ev) {
|
||||
var $self = this;
|
||||
var templateHtml = $('> [data-group-palette-template]', this.$el).html(),
|
||||
$target = $(ev.target),
|
||||
$form = this.$el.closest('form'),
|
||||
@ -107,6 +108,7 @@
|
||||
|
||||
$form.one('ajaxComplete', function() {
|
||||
$loadContainer.loadIndicator('hide')
|
||||
$self.togglePrompt()
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user