Changeset 2099

Show
Ignore:
Timestamp:
09/24/07 17:00:24 (16 months ago)
Author:
david
Message:

added "replace" to possible insert locations for form error messages, refs #303

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/src/filter/AgaviFormPopulationFilter.class.php

    r2097 r2099  
    439439                      $target->parentNode->appendChild($errorMessageElement); 
    440440                    } 
     441                  } elseif($locationInfo == 'replace') { 
     442                    $target->parentNode->replaceChild($errorMessageElement, $target); 
    441443                  } else { 
    442444                    $target->appendChild($errorMessageElement);