? Pending
Pull Request for # 8180

User tests: Successful: Unsuccessful:

avatar eshiol
eshiol
28 Oct 2015

Steps to reproduce the issue

Create a form with a modal category field

To test the issue you can change the file
administrator/components/com_content/models/forms/article.xml
45: <field name="catid" type="categoryedit"

45: <field name="catid" type="modal_category"
and open an article
cattura2

Expected result

When you click on the select button the modal popup should open

Actual result

When you click on the select button nothing happens

see

avatar eshiol eshiol - open - 28 Oct 2015
avatar eshiol eshiol - change - 28 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Oct 2015
Labels Added: ? ?
avatar zero-24 zero-24 - change - 28 Oct 2015
The description was changed
Labels Removed: ?
avatar zero-24
zero-24 - comment - 28 Oct 2015

Thanks @eshiol i have just copied your instructions in here. Thanks.

c7eed15 28 Oct 2015 avatar zero-24 cs
avatar zero-24
zero-24 - comment - 28 Oct 2015

I have just send you a codestyle fix for the both whitespaces. Thanks.

avatar zero-24
zero-24 - comment - 28 Oct 2015

@eshiol I can not exactly follow your issue.

I have just add your code but it end up with see:
your_code

This is with and without the patch and i used this code:

<field name="category123" type="modal_category" label="category123" labelclass="control-label" edit="false" addfieldpath="/administrator/components/com_contact/models/fields" />
avatar eshiol
eshiol - comment - 28 Oct 2015

Sorry, my fault.
<field name="category" type="modal_category" label="category" labelclass="control-label" edit="false" />
cattura

avatar zero-24
zero-24 - comment - 28 Oct 2015

hmm i still go the same view as above and no select box?

avatar eshiol
eshiol - comment - 28 Oct 2015

to test the issue you can change the file
administrator/components/com_content/models/forms/article.xml
45: <field name="catid" type="categoryedit"

45: <field name="catid" type="modal_category"
and open an article
cattura2

avatar zero-24 zero-24 - test_item - 29 Oct 2015 - Tested successfully
avatar zero-24
zero-24 - comment - 29 Oct 2015

I have tested this item :white_check_mark: successfully on f021280

Thanks @eshiol I go it. (I will update the instructions in the first post)

Works good now on my end.


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

avatar zero-24 zero-24 - change - 29 Oct 2015
Category Administration Libraries
avatar zero-24 zero-24 - change - 29 Oct 2015
The description was changed
Rel_Number 0 8180
Relation Type Pull Request for
Easy No Yes
avatar zero-24 zero-24 - change - 29 Oct 2015
Title
The Modal Category Field doesn't work if edit=false (Ref #8180)
The Modal Category Field doesn't work if edit=false (Ref #8180)
avatar zero-24
zero-24 - comment - 29 Oct 2015

Just my CS Pull needs now to be merged that Travis will be happy with your code ;)

avatar joomla-cms-bot
joomla-cms-bot - comment - 30 Oct 2015

This PR has received new commits.

CC: @zero-24


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

avatar n9iels n9iels - test_item - 31 Oct 2015 - Tested successfully
avatar n9iels
n9iels - comment - 31 Oct 2015

I have tested this item :white_check_mark: successfully on 978e513

Works fine for me!


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

avatar zero-24 zero-24 - test_item - 31 Oct 2015 - Tested successfully
avatar zero-24
zero-24 - comment - 31 Oct 2015

I have tested this item :white_check_mark: successfully on 978e513


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

avatar zero-24 zero-24 - change - 31 Oct 2015
Milestone Added:
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 31 Oct 2015

RTC thanks


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

avatar joomla-cms-bot joomla-cms-bot - change - 31 Oct 2015
Labels Added: ?
avatar roland-d roland-d - change - 31 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-31 22:39:58
Closed_By roland-d
avatar roland-d roland-d - close - 31 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 31 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 31 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment