You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by do...@apache.org on 2009/04/30 19:37:43 UTC

svn commit: r770341 - /incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js

Author: doll
Date: Thu Apr 30 17:37:43 2009
New Revision: 770341

URL: http://svn.apache.org/viewvc?rev=770341&view=rev
Log:
Fixing bug in templates js. equalsIgnoreCase doesn't exist in js... just java :)

Modified:
    incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js

Modified: incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js?rev=770341&r1=770340&r2=770341&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/opensocial-templates/container.js Thu Apr 30 17:37:43 2009
@@ -256,7 +256,7 @@
         var keys = requiredData.split(/[\, ]+/);
         var callback = os.Container.createRenderClosure(template, el, null,
             os.Container.getDefaultContext());
-        if ("true".equalsIgnoreCase(node.getAttribute("autoUpdate"))) {
+        if ("true" == node.getAttribute("autoUpdate")) {
           opensocial.data.DataContext.registerListener(keys, callback);
         } else {
           opensocial.data.DataContext.registerOneTimeListener_(keys, callback);