]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/wclib.js
File counting for directory rooms now checks both QR_DIRECTORY and
[citadel.git] / webcit / static / wclib.js
index 1742b6c342346df84898816a8c32e3ba2889436d..09a5c8ad44733ba70d3efeb2e4425a16a3fbb4f4 100644 (file)
@@ -560,7 +560,8 @@ function add_new_note() {
        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 />'
        ;