Thomas Bruederli wrote:
My folders are all top-level and $IMAP->delimiter is empty. The resulting expression is /.*/ which removes all characters from the folder name. I'd suggest to split the folder name by the delimiter and then use the last array index (which would be 0 in my case).
An empty delimiter. Never thought of that. Okay, fixed.
Could be an idea but I'd suggest to add a checkbox named "create as subfolder of .." anyway.
this.get_label() does not know about variable substitutions. How's the attached patch?
Robin
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/fv/bMLXQ2Z4/confirm-create.20070.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/