#1289: Allow FPF to use "child" as a location for the markup
----------------------------------+-----------------------------------------
Reporter: m...@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4
Component: filter | Version: 1.0.3
Severity: normal | Keywords:
Has_patch: 0 |
----------------------------------+-----------------------------------------
In global_filters.xml there's a comment that says use "before", "after" or
"child". There's only a fallback after if that DOM element is the last so
it works as a last child using appendChild(), but there's not direct way
of doing this. This simple addition gives this flexibility:
[...]
} elseif($errorLocation == 'child') { // Line 834
$target->parentNode->appendChild($clonedErrorElement);
[...]
--
Ticket URL: <http://trac.agavi.org/ticket/1289>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets