?
avatar ciar4n
ciar4n
23 Aug 2016

Steps to reproduce the issue

  1. Create new article in article manager
  2. Enter a title
  3. Click in to any field excluding the article editor (Eg. Image and Links -> Link A)
  4. Hit Enter (even after adding data)

Expected result

Nothing

Actual result

Navigates back to article manager, losing article

System information

Joomla 3.6.2

Additional comments

Maybe there is a good reason for this however I am failing to see one. Out of habit it is very easy for a user to hit enter after adding data to a field. Do this after composing an article and your article will be lost. Just seems like bad UI/UX?

avatar ciar4n ciar4n - open - 23 Aug 2016
avatar brianteeman
brianteeman - comment - 23 Aug 2016

out of habit it is very easy for a user to hit enter after adding data to a field.

Maybe on a non web based form but on a web based form you would have to disable the keypress in a field for that to happen

https://www.google.co.uk/search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=disable%20enter%20on%20a%20form&oq=enter%20on%20a%20form&aqs=chrome.1.69i57j0l5.6791j0j7


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11765.

avatar ciar4n
ciar4n - comment - 23 Aug 2016

I realise disabling the keypress is a non runner. Hitting enter defaulting to cancelling the document seems questionable thou.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11765.

avatar brianteeman
brianteeman - comment - 23 Aug 2016

Sorry I missed that part and answered too quickly. Thats a definite bug


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11765.

avatar brianteeman brianteeman - change - 23 Aug 2016
Status New Confirmed
avatar ciar4n
ciar4n - comment - 24 Aug 2016

Strangely the issue appears to be related to the 'user' field (Publishing tab), specifically the following hidden button which is rendered from an override in the Isis template..

<button class="btn" data-dismiss="modal">Cancel</button>

You will find the issue is also present when creating a new category which also includes this field. I can create a PR removing the 'cancel' text which does resolve the issue however this points to the correct solution been elsewhere. Anyone more familiar with the Isis template I suspect would have a better solution?) If not I will go ahead and create the PR.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11765.

avatar brianteeman
brianteeman - comment - 24 Aug 2016

Good find. Let's start by creating the pr. It usually helps to reveal any
other issues.

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Closed as we have a pr for testing see #11782

avatar brianteeman brianteeman - change - 25 Aug 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-08-25 08:47:09
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 Aug 2016

Add a Comment

Login with GitHub to post a comment