Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes bug in image.blade.php #27

Merged
merged 1 commit into from Nov 3, 2017
Merged

fixes bug in image.blade.php #27

merged 1 commit into from Nov 3, 2017

Conversation

ghost
Copy link

@ghost ghost commented Oct 19, 2017

The field image.blade.php calls the function:

@if ($crud->checkIfFieldIsFirstOfItsType($field, $fields))

which need the whole list of $fields in the view to determine if the js was already injected.

The current version pass only the $fields of the box, injecting the js once per box and causing duplication.

@jguyomard jguyomard merged commit 4d08bc8 into novius:0.2 Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants