Changed to using data-cappuccino-view attribute

This commit is contained in:
Aparajita Fishman committed 2012-03-18 15:33:19 -07:00
1 parent 39ec1cfd27
commit 97b77e9b7b
1 file changed
+1 -1
+1 -1
View File
@@ -291,7 +291,7 @@ var CPViewFlags = { },
CPDOMDisplayServerSetStyleLeftTop(_DOMElement, NULL, _CGRectGetMinX(aFrame), _CGRectGetMinY(aFrame));
CPDOMDisplayServerSetStyleSize(_DOMElement, width, height);
_DOMElement.className = [self className];
_DOMElement.setAttribute("data-cappuccino-view", [self className]);
_DOMImageParts = [];
_DOMImageSizes = [];