From: <dj...@us...> - 2012-06-12 14:53:30
|
Revision: 9641 http://xoops.svn.sourceforge.net/xoops/?rev=9641&view=rev Author: djculex Date: 2012-06-12 14:53:24 +0000 (Tue, 12 Jun 2012) Log Message: ----------- - Bugfix: Updates were not embedded when submitting update Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/templates/getlastmsg.html Modified: XoopsModules/smallworld/trunk/smallworld/templates/getlastmsg.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/templates/getlastmsg.html 2012-06-12 14:51:00 UTC (rev 9640) +++ XoopsModules/smallworld/trunk/smallworld/templates/getlastmsg.html 2012-06-12 14:53:24 UTC (rev 9641) @@ -1,13 +1,4 @@ <{foreach item=post from=$walldata}> - - <script type="text/javascript"> - xoops_smallworld(document).ready(function(){ - xoops_smallworld("#smallworld_stexpand<{$post.msg_id}>").oembed("<{$post.orimessage}>",{ - maxWidth: "100%", - maxHeight: "100%" - }); - }); - </script> <div class="smallworld_stbody" id="smallworld_stbody<{$post.msg_id}>"> <div class="smallworld_stimg"> @@ -119,5 +110,11 @@ xoops_smallworld(document).ready(function(){ smallworldCheckNumDivs(); attachAvatarOpen(); + + xoops_smallworld('#smallworld_stexpand<{$post.msg_id}>').oembed('<{$post.orimessage}>',{ + maxWidth: "100%", + maxHeight: "100%" + }); + }); </script> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |