Go to Users, Manage, select a user and when on the Edit Profile for a user click the close button.
Clicking in the close button shouldn't produce errors and go back to the previous view.
Clicking the close button produces an error and doesn't exit Edit Profile to return to the previous view.
Joomla! 4.0.0-dev
OS: Linux Deepin 15.3
Kernel: 4.4.0-3-deepin-amd64
Google Chrome: 56.0.2924.76 (64 bit)
PHP: 7.0.12-2
Labels |
Added:
?
|
Yes that's it. I've tried placing the form-validate class in the form html and it worked.
Title |
|
Ah ok right ;) I was going to make a PR to fix that.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-30 12:51:30 |
Closed_By | ⇒ | rjcf18 |
Actually none of the buttons in the edit view is working (exception made for the help button).
This is also true for the other edit views of the component:
administrator/components/com_users/views/group/tmpl/edit.php
administrator/components/com_users/views/level/tmpl/edit.php
administrator/components/com_users/views/note/tmpl/edit.php
administrator/components/com_users/views/user/tmpl/edit.php
The problem is that the form id has been changed.
The buttons call the Joomla.submitbutton() function and the Joomla.submitbutton() calls the Joomla.submitform() function.
The Joomla.submitform() function is looking for the form id "adminForm".
If this is not intentional and is not part of a planned development process, we need to revert the form id to "adminForm".