QR_VISDIR before displaying the count of files.
WC->wc_view = extract_int(&got[4], 11);
/* Is this a directory room and does it contain files and how many? */
- if (WC->room_flags & QR_VISDIR)
+ if ((WC->room_flags & QR_DIRECTORY) && (WC->room_flags & QR_VISDIR))
{
serv_puts("RDIR");
serv_getln(buf2, sizeof buf2);
new_eid = CtdlRandomString();
$('new_notes_here').innerHTML = $('new_notes_here').innerHTML
- + '<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\">'
+ + '<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\" id=\"' + new_eid + '\" alt=\"Note\" class=\"notes\">'
+ + '<script type=\"text/javascript\">new Draggable (\"%s\", {revert:true})</script>'
+ '<span id=\"note' + new_eid + '\">' + Date() + '</span><br />'
;