go to already created articles in the backend administrator
Select a check-box of a published article
open change status toolbar list and click on publish
Nothing Happens as the button is read-only
The page is reloaded.
Request Probably goes to the backend(to be confirmed)
joomla 4.0.0 -Alpha -8 -dev
Similar Issue if the article is unpublished and unpublish button is clicked.
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
@Puneet-Jain-18 could you please recheck as I am getting this error message: One or more of the selected articles can't set be to published.
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Information Required |
@brianteeman I will try to do the changes suggested by you
@hardik-codes No, I don't get that kind of error
This Kind Of behavior is handled at the backend by this code already.
unpublishBtn.addEventListener('click', (e) => { if (e.target.classList.contains('disabled')) { e.stopPropagation();
So I wanted to ask should we do changes to stop page from reloading also,??
Kindly see #24517 which solves #24480 ,in that I have modified the condition for disabling of workflow buttons. Now Publish button will only be disabled only when all the selected items are published & active even if 1 of the selected is unpublished/archived/trashed (which is the expected behavior).
Similarly for other workflow buttons.
But yes the disabled buttons are clickable which shouldn't be the case.
The PR doesn't solve this issue
I will have a look Thanks !!
Closed as having Pull Request.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-08 12:02:17 |
Closed_By | ⇒ | franz-wohlkoenig |
The problem is that the button is not "read-only". It has a class of disabled but that's not the same thing as a disabled button
Current code
As far as I remember it should be