OpenNTF.org - domBulletin
Home
Download
Projects
IdeaJam
Forums
About
Get Involved
My Links (Not logged in)
User Name
Password
Register
Forgot Password
Project: domBulletin (Managed by Steve Duncan, Michael Bourak)
Actions:
 
About
Releases
Screenshots
Requests
Bugs
News
Discuss
Docs
Testimonials
All
Response
Subject
"undefined" can be fixed with this small change
Created
03/02/2007 03:15 AM
by
Rohit Choudha
.
Modified
<none>
by
<none>
.
Body
I was able to fix it.
Now the "undefined" tag is removed when we turn off the RSS feed.
Below is the function for 'topic RSS'. Since the else part was missing, it was returning nothing/null and that had been treated as 'undefined'.I have added the same and now it is working fine.
function _doTopicRSSLink(id)
{
if (onimod_rss=="YES")
{
return '<A HREF="/'+onimod_webdbname+'/rssfeed.xml?OpenPage&MainId='+id+'" alt="'+text_rsstopic+'" title="'+text_rsstopic+'"><img src="rss.gif" border=0></a>';
}
else
{
return ""
}
}
Feedback
RSS icon ( on 07/27/2006 04:48:21 PM )
. . will look into it. thanks (Michael Bourak on 08/08/2006 12:59:59 PM )
. . . . "undefined" can be fixed with ... (Rohit Choudha on 03/02/2007 03:15:13 AM )
Check out other projects