I discovered that there are two different edit links for a Rules component (the label of the component is linked and the edit link in "operations"). This patch unifies them.

CommentFileSizeAuthor
#2 1057266-rules-edit-link.patch850 bytesklausi
rules-edit-link.patch565 bytesklausi

Comments

klausi’s picture

Component: User Interface » User interface
Status: Needs review » Needs work

Oh no, this breaks nested rules in rule sets ...

klausi’s picture

Status: Needs work » Needs review
StatusFileSize
new850 bytes

New approach: only change the link for root elements.

fago’s picture

Status: Needs review » Fixed

Thanks, I've shortened it a bit and committed it. There is a $element->isRoot() method I've made use of.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.