#9 — replaceHTML doesn't replace '
State | Rejected |
---|---|
Release: |
—
|
Area | Server side kss.core |
Issue type | Bug |
Severity | Medium |
Submitted by | Danny Bloemendaal |
Submitted on | 2007-07-12 |
Responsible | Balazs Ree |
Target release: |
—
|
Last modified on
2007-10-20
by
Balazs Ree
If you try to replace a node with nothing ('') then the action doesn't do anything. I think it should empty the node instead of doing nothing. I have a macro that renders a portlet. The user can manipulate elements directly in the porltet (removing items) and at some point there is nothing to display in the portlet. In that case the macro just returns '' telling that the portlet shouldn't be displayed. Of course you can check this and do a deleteNode but I believe that replace should do just what it says it does: replacing.
Added by
Balazs Ree
on
2007-10-20 19:40
Issue state:
unconfirmed → rejected
Responsible manager:
(UNASSIGNED) → ree
duplicate of #8