You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ev...@apache.org on 2008/10/02 17:56:17 UTC
svn commit: r701171 -
/incubator/shindig/trunk/features/opensocial-templates/compiler.js
Author: evan
Date: Thu Oct 2 08:56:16 2008
New Revision: 701171
URL: http://svn.apache.org/viewvc?rev=701171&view=rev
Log:
SHINDIG-632 - Fix OST handling of Select elements
Modified:
incubator/shindig/trunk/features/opensocial-templates/compiler.js
Modified: incubator/shindig/trunk/features/opensocial-templates/compiler.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-templates/compiler.js?rev=701171&r1=701170&r2=701171&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-templates/compiler.js (original)
+++ incubator/shindig/trunk/features/opensocial-templates/compiler.js Thu Oct 2 08:56:16 2008
@@ -450,7 +450,8 @@
for (var child = node.firstChild; child; child = child.nextSibling) {
var compiledChild = os.compileNode_(child);
if (compiledChild) {
- if (typeof(compiledChild.length) == 'number') {
+ if (!compiledChild.tagName &&
+ typeof(compiledChild.length) == 'number') {
for (var i = 0; i < compiledChild.length; i++) {
output.appendChild(compiledChild[i]);
}