You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2009/12/18 21:20:17 UTC
svn commit: r892368 - in /incubator/shindig/trunk/javascript/samplecontainer:
examples/SocialActivitiesWorld.xml examples/SocialHelloWorld.xml
samplecontainer.js
Author: lindner
Date: Fri Dec 18 20:20:12 2009
New Revision: 892368
URL: http://svn.apache.org/viewvc?rev=892368&view=rev
Log:
SHINDIG-1147 | Patch from Nuwan Bandara | Fix for reset-all on samplecontainer
Modified:
incubator/shindig/trunk/javascript/samplecontainer/examples/SocialActivitiesWorld.xml
incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml
incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.js
Modified: incubator/shindig/trunk/javascript/samplecontainer/examples/SocialActivitiesWorld.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/samplecontainer/examples/SocialActivitiesWorld.xml?rev=892368&r1=892367&r2=892368&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/samplecontainer/examples/SocialActivitiesWorld.xml (original)
+++ incubator/shindig/trunk/javascript/samplecontainer/examples/SocialActivitiesWorld.xml Fri Dec 18 20:20:12 2009
@@ -21,6 +21,7 @@
<ModulePrefs title="Social Activities World"
icon="http://localhost:8080/gadgets/files/samplecontainer/examples/icon.png">
<Require feature="opensocial-0.7"></Require>
+ <Require feature="settitle"/>
<Require feature="dynamic-height"></Require>
</ModulePrefs>
<Content type="html">
@@ -117,7 +118,7 @@
</style>
<script type="text/javascript">
-
+gadgets.window.setTitle('Social Activities World');
gadgets.util.registerOnLoadHandler(refreshActivities);
function refreshActivities() {
Modified: incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml?rev=892368&r1=892367&r2=892368&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml (original)
+++ incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml Fri Dec 18 20:20:12 2009
@@ -23,6 +23,7 @@
thumbnail="http://localhost:8080/"
icon="http://localhost:8080/gadgets/files/samplecontainer/examples/icon.png">
<Require feature="osapi"></Require>
+ <Require feature="settitle"/>
<Require feature="dynamic-height"></Require>
</ModulePrefs>
<Content type="html">
@@ -69,6 +70,7 @@
</style>
<script type="text/javascript">
+ gadgets.window.setTitle('Social Hello World');
var hellos = new Array('Hello World', 'Hallo Welt', 'Ciao a tutti', 'Hola mundo',
'Появление на свет', 'こんにちは世界', '你好世界', '여러분, 안녕하세요');
var numberOfStyles = 6;
Modified: incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.js?rev=892368&r1=892367&r2=892368&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.js (original)
+++ incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.js Fri Dec 18 20:20:12 2009
@@ -177,7 +177,7 @@
gadgets.container.gadgets_[gadget].secureToken = escape(generateSecureToken());
}
reloadStateFile(function() {
- gadgets.container.renderGadgets();
+ gadgets.container.refreshGadgets();
});
}