Changes between Initial Version and Version 1 of Ticket #7103, comment 1
- Timestamp:
- Jun 28, 2011, 11:47:14 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7103, comment 1
initial v1 7 7 if ( data.customAttr ) 8 8 { 9 var custAttr = function( inputName , attrName)9 var custAttr = function( inputName ) 10 10 { 11 11 var value = data.customAttr[ inputName ]; 12 12 if ( value ) 13 attributes[ attrName] = value;13 attributes[inputName] = value; 14 14 else 15 removeAttributes.push( attrName );15 removeAttributes.push( inputName ); 16 16 }; 17 17 for(attr in data.customAttr) 18 custAttr( x);18 custAttr(attr); 19 19 } 20 20 }}}