Permalink
Browse files

Bug fix in init tag (autoGrow param)

  • Loading branch information...
1 parent 1f30194 commit c1655c109f358128678f84b52709cc0f3c385b65 Benoit Hediard committed May 1, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 sdk/tags/init.cfm
View
@@ -1,6 +1,6 @@
<cfif thisTag.executionMode is "end"><cfsetting enablecfoutputonly="false">
<cfsilent>
-<cfparam name="attributes.autoGrowthEnabled" default="false" />
+<cfparam name="attributes.autoGrowEnabled" default="false" />
<cfparam name="attributes.cookieEnabled" default="true" />
<cfparam name="attributes.facebookApp" />
<cfparam name="attributes.localeCode" default="en_US" />
@@ -25,8 +25,8 @@
xfbml : <cfif attributes.xfbmlEnabled>true<cfelse>false</cfif> // parse XFBML
});
- <cfif attributes.autoGrowthEnabled>
- FB.Canvas.setAutoGrowth();
+ <cfif attributes.autoGrowEnabled>
+ FB.Canvas.setAutoGrow();
<cfelseif attributes.sizeEnabled>
FB.Canvas.setSize();
</cfif>

0 comments on commit c1655c1

Please sign in to comment.