The newest revision removes the input on focusout, so I don't feel like
that will be an issue.
Prepopulating, or a small .find("input").remove(); check would suffice.
On Feb 20, 2014 11:22 AM, "silverwind" <notifications@github.com> wrote:

> In src/client.js:
>
> > @@ -995,6 +995,48 @@
> >          });
> >      }
> >
> > +    function entryRename(entry) {
> > +        droppy.activeFiles = [];
> > +        $(".filelink, .folderlink").each(function () {
> > +            droppy.activeFiles.push($(this).text().toLowerCase());
> > +        });
> > +
> > +        $("#click-catcher").trigger("mousemove");
> > +        var link = entry.find(".folderlink, .filelink");
> > +        link.hide();
> > +        link.after($('<input class="inline-namer" value="'+link.text()+'" placeholder="'+link.text()+'"/>'));
>
> This seems to be a bit problematic, as it's possible to have multiple
> <input>s on the page at the same time. I'd change it to add the input to
> the HTML and move it in place when needed.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/silverwind/droppy/pull/32/files#r9914832>
> .
>