You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by ps...@apache.org on 2011/11/10 13:32:07 UTC
svn commit: r1200295 - in /incubator/wookie/trunk/widgets/natter:
Images/unlock.png chat.js
Author: psharples
Date: Thu Nov 10 12:32:07 2011
New Revision: 1200295
URL: http://svn.apache.org/viewvc?rev=1200295&view=rev
Log:
Fixed an icon positioning/path issue (the original icon referenced the /wookie path rather than a local file
Added:
incubator/wookie/trunk/widgets/natter/Images/unlock.png (with props)
Modified:
incubator/wookie/trunk/widgets/natter/chat.js
Added: incubator/wookie/trunk/widgets/natter/Images/unlock.png
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/natter/Images/unlock.png?rev=1200295&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/wookie/trunk/widgets/natter/Images/unlock.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/wookie/trunk/widgets/natter/chat.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/natter/chat.js?rev=1200295&r1=1200294&r2=1200295&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/natter/chat.js (original)
+++ incubator/wookie/trunk/widgets/natter/chat.js Thu Nov 10 12:32:07 2011
@@ -108,7 +108,7 @@ function isAdminUser(){
}
function getAdminUnlockText(){
- var adminUnlockText = "<a href=\"#\" onclick=\"unlockchat()\"><img border=\"0\" src=\"/wookie/shared/images/unlock.gif\" alt=\""+getLocalizedString('Unlock this widget')+"\"></a>";
+ var adminUnlockText = "<div id=\"lock\"><a href=\"#\" onclick=\"unlockchat()\"><img border=\"0\" src=\"Images/unlock.png\" alt=\""+getLocalizedString('Unlock this widget')+"\"></a></div>";
return adminUnlockText;
}
@@ -179,7 +179,7 @@ function refreshMemberList(){
if (viewer!=null) viewerId=viewer.getId();
for (participant in participants) {
var thisUserIcon = participants[participant].getThumbnailUrl();
- if(thisUserIcon == FIXME_THUMBNAIL_URI){
+ if(thisUserIcon == FIXME_THUMBNAIL_URI || thisUserIcon == ""){
thisUserIcon = localthumbnail;
}
if(participants[participant].getId() == viewerId){