Skip to content

[com_fields] modal windows with category selector #13772

@Flowman

Description

@Flowman

Steps to reproduce the issue

Create a modal window form and have a category selector in it.

Try to change the category.

Expected result

Category should change.

Actual result

JavaScript error occurs:
Uncaught ReferenceError: categoryHasChanged is not defined

System information (as much as possible)

Joomla 3.7.0
PHP 7.1

Additional comments

What is the purpose of https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_fields/helpers/fields.php#L299

So in a modal window we don't really want to reload the page when we change a category.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions