|
|
@ -3369,9 +3369,12 @@ function rcube_webmail()
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
// find not protected folder
|
|
|
|
// find not protected folder
|
|
|
|
for (var refid in this.env.subscriptionrows)
|
|
|
|
var refid;
|
|
|
|
if (this.env.subscriptionrows[refid]!=null && !this.env.subscriptionrows[refid][2])
|
|
|
|
for (var rid in this.env.subscriptionrows)
|
|
|
|
|
|
|
|
if (this.env.subscriptionrows[rid]!=null && !this.env.subscriptionrows[rid][2]) {
|
|
|
|
|
|
|
|
refid = rid;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var refrow, form;
|
|
|
|
var refrow, form;
|
|
|
|
var tbody = this.gui_objects.subscriptionlist.tBodies[0];
|
|
|
|
var tbody = this.gui_objects.subscriptionlist.tBodies[0];
|
|
|
@ -3384,10 +3387,11 @@ function rcube_webmail()
|
|
|
|
refid = replace.id;
|
|
|
|
refid = replace.id;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!id || !(refrow = document.getElementById(refid)))
|
|
|
|
if (!id || !refid || !(refrow = document.getElementById(refid)))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Refresh page if we don't have a table row to clone
|
|
|
|
// Refresh page if we don't have a table row to clone
|
|
|
|
this.goto_url('folders');
|
|
|
|
this.goto_url('folders');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|