[Pieforms-commit] SF.net SVN: pieforms: [132] pieforms-php5/trunk/src/pieform/renderers/table .php
Status: Alpha
Brought to you by:
oracleshinoda
|
From: <ora...@us...> - 2006-12-23 05:10:44
|
Revision: 132
http://svn.sourceforge.net/pieforms/?rev=132&view=rev
Author: oracleshinoda
Date: 2006-12-22 21:10:44 -0800 (Fri, 22 Dec 2006)
Log Message:
-----------
Make sure the 'error' class is removed from elements when all errors are being removed
Modified Paths:
--------------
pieforms-php5/trunk/src/pieform/renderers/table.php
Modified: pieforms-php5/trunk/src/pieform/renderers/table.php
===================================================================
--- pieforms-php5/trunk/src/pieform/renderers/table.php 2006-12-23 05:09:20 UTC (rev 131)
+++ pieforms-php5/trunk/src/pieform/renderers/table.php 2006-12-23 05:10:44 UTC (rev 132)
@@ -119,6 +119,10 @@
forEach(getElementsByTagAndClassName('TD', 'errmsg', $('$id')), function(item) {
removeElement(item.parentNode);
});
+ forEach(getElementsByTagAndClassName('TD', 'error', $('$id')), function(item) {
+ removeElementClass(item, 'error');
+ removeElementClass(item.firstChild, 'error');
+ });
}
function {$id}_message(message, type) {
var elem = $('{$id}_pieform_message');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|