Section One BBS

Welcome, Guest.


Subject: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf Date: Mon Feb 07 2022 11:27 am
From: Digital Man To: Nightfox

  Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf
  By: Nightfox to Ragnarok on Mon Feb 07 2022 08:59 am

 >   Re: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cfg
 >   By: Ragnarok to Eric Oulashin on Mon Feb 07 2022 01:31 am
 >
 >  Ra> Error when file description is empty:
 >
 >  Ra> JavaScript ddfilelister.js line 452: TypeError: fileDesc is undefined
 >
 > I hadn't sdeen that error, but I have an idea for a fix.
 >
 > Digital Man: This is a case where I got a metadata object for a file with
 > extended information.  Is it possible for either extdesc or desc or extdesc
 > to not be included with a metadata object?

Yes, if either of those descriptions don't exist, they won't be populated as pro
perties *unless* you use FileBase.DETAIL.MAX as the detail level in your calls t
o the FileBase methods.
-- 
                                            digital man (rob)

Synchronet "Real Fact" #65:
Synchronet can dynamically compress and uncompress message bases (using LZH)
Norco, CA WX: 74.6°F, 13.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs

---
 ■ SynchronetVertrauen Home of Synchronet [vert/cvs/bbs].synchro.net

Previous Message       Next Message
In Reply To: Re: xtrn/ddfilelister/ddfilelister.cfg ddfilelister.jsdefaultTheme.cf (Nightfox)