Create a new menu item, fill in the required fields, press enter/return.
Expected behaviour is save menu item (and return to menu in question). i.e. exactly the same as save & close.
You arrive at the create menus page. The item does not get saved.
System Information
Setting Value
PHP Built On Linux mail.sfworksdev.co.uk 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64
Database Version 5.5.37
Database Collation utf8_general_ci
PHP Version 5.4.37
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Status | New | ⇒ | Confirmed |
Tests here show that this happens ONLY when the pointer is focussed inside a field, whether the menu item (and anything else in joomla back-end btw, each redirecting to different pages) is new or not.
When it is not new, it checks out the item.
Afaik enter/return has never be equivalent to Save in J. It only works for Search.
It "could" work with a supplementary js targetting keyCode == 13 for keydown for the Save button I guess.
Correct behavior for Joomla admin forms, when you push Enter:
nothing happens
Because we use JavaScript Joomla.submitform
to submit the forms in administrator side, when user explicitly pushes the Save or Close or any other button.
Described here issue happens due <button>
tag in new modal markup, that inside our <form>
, that make <form>
behavior like described in the first comment here.
in theory, the solution is to add type="button"
(like <button type="button">...</button>
) to all these buttons in the modal markup, or replace them to simple <a>
tag
Fix is more hard than I expected ... need to search all call of JHtml::_('bootstrap.renderModal',...
and edit 'footer' => '<button ...
Hope there will be someone more brave than me
@Fedik @brianteeman @infograf768 @uglyeoin please test PR #8874
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-01-17 21:57:10 |
Closed_By | ⇒ | wilsonge |
Ty!
Thanks
I can confirm this
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8839.