? ? Pending

User tests: Successful: Unsuccessful:

avatar akritianand
akritianand
31 Aug 2017

Pull Request for Issue #17744.

Summary of Changes

Previously, when we edit an article under publishing tab, the clear button in calendar field did not work if it was a required field.
Now, it clears the calendar field when pressed instead of redirecting (as it did originally).
Changes were made in calendar.min.js

Testing Instructions

Create an admin form with a required date field. i.e. open administrator\components\com_content\models\forms\article.xml and make field "publish_down" required by adding required="true" to field's xml node.
Go to Joomla! administration panel and open an article edit view.
Finish Publishing field should now be a required field.
Add Finish Publishing date, using the date picker of the calendar
Click "Clear" button on the Calendar.

Expected result

Clears the field

Actual result

Redirects to Article Page

Documentation Changes Required

None

avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2017
Category JavaScript
avatar akritianand akritianand - open - 31 Aug 2017
avatar akritianand akritianand - change - 31 Aug 2017
Status New Pending
avatar ReLater
ReLater - comment - 1 Sep 2017

Sorry! I thought this is an issue (not PR): Deleted my comment

avatar dgt41
dgt41 - comment - 1 Sep 2017

Can you please include the changes in the non minified version? The minified is not reviewable and also it's just the minified version of calendar.js

avatar akritianand akritianand - change - 2 Sep 2017
Labels Added: ?
avatar akritianand
akritianand - comment - 2 Sep 2017

@dgt41 can you review again. I've made the changes you asked.

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 2 Sep 2017
avatar dgt41
dgt41 - comment - 2 Sep 2017

@akritianand seems fine, thanks

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

@akritianand can you please look if #17744 is same PR?

avatar akritianand
akritianand - comment - 2 Sep 2017

@franz-wohlkoenig oh sorry, I think it's the same issue that I was solving. Can that previous patch be removed or closed in any way?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

@akritianand sorry, meant #17793

avatar akritianand
akritianand - comment - 2 Sep 2017

@franz-wohlkoenig Yes, I meant the same.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

@maintainers: Looks like PR #17793 and this are about same Issue - can you please decide how to handle this?
#17793 is closed

avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2017
Category JavaScript Administration com_modules JavaScript
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 Oct 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Oct 2017

I have tested this item successfully on af24b73

Hit "Clear" on required Field as Example given above clears Field.


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

avatar Quy Quy - test_item - 15 Jan 2018 - Tested successfully
avatar Quy
Quy - comment - 15 Jan 2018

I have tested this item successfully on af24b73


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

avatar Quy Quy - change - 15 Jan 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 15 Jan 2018

I will do a PR to delete the commented line after the merge if the OP does not do it beforehand.


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

avatar mbabker mbabker - change - 17 Mar 2018
Labels Added: ?
avatar mbabker mbabker - change - 17 Mar 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-03-17 15:10:17
Closed_By mbabker
avatar mbabker mbabker - close - 17 Mar 2018
avatar mbabker mbabker - merge - 17 Mar 2018
avatar infograf768
infograf768 - comment - 6 Sep 2018

GRR:
#22026

?

Add a Comment

Login with GitHub to post a comment