? Success

User tests: Successful: Unsuccessful:

avatar softarius
softarius
30 Jan 2020

Pull Request for Issue #27724.

Summary of Changes

Class JHtmlGrid is modified.

Testing Instructions

Add to any grid admin layout using JHTML like this
JHTML::_('grid.boolean', $i, $row->important,'helloworlds.important','helloworlds.unimportant');
Example -
Joomla-3-Hello-World-Component_0.16.zip

Expected result

The row is selected and the task is invoked

Actual result

Error JSON.decode is not a function into JavaScript console

Documentation Changes Required

Nothing

avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2020
Category Libraries
avatar softarius softarius - open - 30 Jan 2020
avatar softarius softarius - change - 30 Jan 2020
Status New Pending
avatar richard67
richard67 - comment - 30 Jan 2020

@softarius Expected result and actual result in your PR description is the same. Can it be a copy paste mistake? In the issue its different.

avatar softarius softarius - change - 31 Jan 2020
The description was changed
avatar softarius softarius - edited - 31 Jan 2020
avatar softarius
softarius - comment - 31 Jan 2020

@softarius Expected result and actual result in your PR description is the same. Can it be a copy paste mistake? In the issue its different.

I was thinking to describe actual result after the fix in PR.
However, in the issue, I describe the actual result before the fix.
Whats is right?

avatar richard67
richard67 - comment - 31 Jan 2020

Actual result = current Joomla code = without this PR, Expected result = how it should be = with this PR (if PR does what it shall do)

avatar richard67
richard67 - comment - 31 Jan 2020

Now description is correct.

avatar softarius
softarius - comment - 31 Jan 2020

Actual result = current Joomla code = without this PR, Expected result = how it should be = with this PR (if PR does what it shall do)

Thanks. I see.

avatar softarius softarius - change - 2 Feb 2020
Labels Added: ?
avatar softarius softarius - change - 4 Feb 2020
Labels Added: ?
avatar SharkyKZ
SharkyKZ - comment - 10 Mar 2020

I think the intention here was to use JSON.parse().

avatar softarius softarius - close - 20 Mar 2022
avatar softarius softarius - change - 20 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-20 14:13:09
Closed_By softarius
Labels Added: ?
Removed: ?

Add a Comment

Login with GitHub to post a comment