You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2012/05/30 17:00:27 UTC
svn commit: r1344295 - /incubator/wookie/trunk/WebContent/demo/wookie.js
Author: scottbw
Date: Wed May 30 15:00:27 2012
New Revision: 1344295
URL: http://svn.apache.org/viewvc?rev=1344295&view=rev
Log:
Set one of the users in the demo to be the "host". See WOOKIE-66.
Modified:
incubator/wookie/trunk/WebContent/demo/wookie.js
Modified: incubator/wookie/trunk/WebContent/demo/wookie.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/demo/wookie.js?rev=1344295&r1=1344294&r2=1344295&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/demo/wookie.js (original)
+++ incubator/wookie/trunk/WebContent/demo/wookie.js Wed May 30 15:00:27 2012
@@ -86,7 +86,7 @@ function updateWidgets(widgets){
}
function showWidget(id){
- Wookie.setCurrentUser("alice","alice","/wookie/demo/alice.png");
+ Wookie.setCurrentUser("alice","alice","/wookie/demo/alice.png", "host");
var widgetInstance = Wookie.getOrCreateInstance(id);
$('#preview_info').html('<br/>' + widgetInstance.title + '<br/>' + id);
$("#preview_alice_widget").html('');