|
|
|
@ -2652,7 +2652,7 @@ function rcube_webmail()
|
|
|
|
|
|
|
|
|
|
if (name.indexOf(this.env.delimiter)>=0)
|
|
|
|
|
{
|
|
|
|
|
alert(this.get_label('forbiddencharacter'));
|
|
|
|
|
alert(this.get_label('forbiddencharacter')+' ('+this.env.delimiter+')');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2724,15 +2724,15 @@ function rcube_webmail()
|
|
|
|
|
var newname = this.name_input ? this.name_input.value : null;
|
|
|
|
|
if (this.edit_folder && newname)
|
|
|
|
|
{
|
|
|
|
|
if (newname.indexOf(this.env.delimiter)>=0)
|
|
|
|
|
if (newname.indexOf(this.env.delimiter)>=0)
|
|
|
|
|
{
|
|
|
|
|
alert(this.get_label('forbiddencharacter'));
|
|
|
|
|
alert(this.get_label('forbiddencharacter')+' ('+this.env.delimiter+')');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.name_input.__parent)
|
|
|
|
|
newname = this.name_input.__parent + this.env.delimiter + newname;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.http_post('rename-folder', '_folder_oldname='+urlencode(this.env.subscriptionrows[this.edit_folder][0])+'&_folder_newname='+urlencode(newname));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|