includes/clientside/tinymce/plugins/xhtmlxtras/js/attributes.js
changeset 459 31c23016ab62
parent 335 67bd3121a12e
equal deleted inserted replaced
458:c433348f3628 459:31c23016ab62
    79 			value = 'return true;' + value;
    79 			value = 'return true;' + value;
    80 
    80 
    81 		if (attrib == "class")
    81 		if (attrib == "class")
    82 			attrib = "className";
    82 			attrib = "className";
    83 
    83 
    84 		eval('elm.' + attrib + "=value;");
    84 		elm[attrib]=value;
    85 	} else
    85 	} else
    86 		elm.removeAttribute(attrib);
    86 		elm.removeAttribute(attrib);
    87 }
    87 }
    88 
    88 
    89 function setAllAttribs(elm) {
    89 function setAllAttribs(elm) {