[pLog-svn] r1334 - plugins/trunk/feedreader/templates

mark at devel.plogworld.net mark at devel.plogworld.net
Sun Mar 6 17:24:55 GMT 2005


Author: mark
Date: 2005-03-06 17:24:55 +0000 (Sun, 06 Mar 2005)
New Revision: 1334

Modified:
   plugins/trunk/feedreader/templates/feed.template
Log:
Fix FeedReader toggleArticle error in IE. Just change the variable name from item to rssItem. No idea why this variable name can not use in IE.

Modified: plugins/trunk/feedreader/templates/feed.template
===================================================================
--- plugins/trunk/feedreader/templates/feed.template	2005-03-06 16:02:17 UTC (rev 1333)
+++ plugins/trunk/feedreader/templates/feed.template	2005-03-06 17:24:55 UTC (rev 1334)
@@ -5,22 +5,22 @@
 function toggleArticle(articleId)
 {
     // get the item from the DOM
-    item = document.getElementById( articleId )
+    rssItem = document.getElementById( articleId );
     
     // if nothing found, let's get out of here
-    if( !item )
+    if( !rssItem )
         return false;
         
     // get the icon
     icon = document.getElementById( 'img_'+articleId );        
         
     // toggle the whole thing
-    if( item.style.display == 'block' ) {
-        item.style.display = 'none';
+    if( rssItem.style.display == 'block' ) {
+        rssItem.style.display = 'none';
         icon.src = "plugins/feedreader/imgs/left.gif";
     }
     else {
-        item.style.display = 'block';
+        rssItem.style.display = 'block';
         icon.src = "plugins/feedreader/imgs/down.gif";        
     }
     




More information about the pLog-svn mailing list