User tests: Successful: Unsuccessful:
Reverts #40167
Should be something that would be handled in 5.0 rather than in a bug fix release.
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
@brianteeman not quite. It changed the button name. By default the icon is ‘icon-$name’). Hence the icon changed too. But the name also changed the ID of the button which caused test failures in 4.0. I think @Fedik ‘s solution here is correct
yes I see that and I agree with @Fedik
However Allon is saying that the label has changed #40167 (comment)
it was only 30 minutes ago that he said that :(
Perhaps I did change the branches too fast and the labels are still the same. Then it is my fault. But the other statement from me is still valid. This should not go into a patch release.
That probably result of George PR #39537,
there for existing item:
ToolbarHelper::cancel('category.cancel', 'JTOOLBAR_CLOSE');
// changed to
$toolbar->cancel('category.cancel');
Probably need
$toolbar->cancel('category.cancel', 'JTOOLBAR_CLOSE');
At
Hmhm, I mean with diferent text :)
Or other way around for diferent text when "new item".
Well, ignore my last comment :)
Additionally, further discussion is needed to be more consistent in the actions, using Close vs Cancel.
What discussion is needed - this has been the behaviour for a very very long time without issue. The only issue was regarding the icon clashing with the delete icon. Modules dont have the seperate concept of new and edit. Only components do
Labels |
Added:
PR-4.3-dev
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-06 03:27:40 |
Closed_By | ⇒ | sdwjoomla |
Thanks Olivier
This makes no sense at all. The change you are reverting here is the icon change NOT the text.
When you create a new article then the text has always been Cancel
When you edit an existing article then the text has always been Close
The only thing the pr did was to change the icon that went with the text.