? ? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
23 Apr 2017

Pull Request for Issue #15251 .

Summary of Changes

Adds a proxy for Calendar.setup(object) to restore backwards compatibility.

Testing Instructions

Apply patch.
Go to Administrator and edit an article
go to publishing tab
open browsers console and paste/run:

        Calendar.setup({
            inputField: 'jform_publish_up',
            showOthers: '0'
        });

UPD: The showOthers can be true or "true" for enabled and anything else for disabled

the cal should reinitialise, to confirm open it again you should see the table without the days for prev/next month

Expected result

Actual result

Documentation Changes Required

avatar dgt41 dgt41 - open - 23 Apr 2017
avatar dgt41 dgt41 - change - 23 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2017
Category JavaScript
avatar dgt41 dgt41 - change - 23 Apr 2017
Labels Added: ?
9f4bae4 23 Apr 2017 avatar dgt41 fixes
avatar infograf768
infograf768 - comment - 24 Apr 2017

This works only for Start Publishing field.

avatar dgt41 dgt41 - change - 24 Apr 2017
The description was changed
avatar dgt41 dgt41 - edited - 24 Apr 2017
avatar bembelimen
bembelimen - comment - 24 Apr 2017

I have tested this item successfully on 857aa0e


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

avatar bembelimen bembelimen - test_item - 24 Apr 2017 - Tested successfully
avatar bembelimen
bembelimen - comment - 24 Apr 2017

Works for me, perfect!

Thank you @dgt41

avatar infograf768
infograf768 - comment - 24 Apr 2017

I have tested this item successfully on 857aa0e


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

avatar infograf768 infograf768 - test_item - 24 Apr 2017 - Tested successfully
avatar infograf768 infograf768 - change - 24 Apr 2017
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 24 Apr 2017

RTC


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

avatar infograf768
infograf768 - comment - 24 Apr 2017

Can be merged. :)

avatar rdeutz rdeutz - change - 24 Apr 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-24 10:24:28
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 24 Apr 2017
avatar rdeutz rdeutz - merge - 24 Apr 2017

Add a Comment

Login with GitHub to post a comment