|
|
@ -1880,9 +1880,7 @@ function rcube_webmail()
|
|
|
|
if (action == 'preview' && String(target.location.href).indexOf(url) >= 0)
|
|
|
|
if (action == 'preview' && String(target.location.href).indexOf(url) >= 0)
|
|
|
|
this.show_contentframe(true);
|
|
|
|
this.show_contentframe(true);
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
if (!this.env.frame_lock) {
|
|
|
|
this.lock_frame();
|
|
|
|
(this.is_framed() ? parent.rcmail : this).env.frame_lock = this.set_busy(true, 'loading');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.location_href(this.env.comm_path+url, target);
|
|
|
|
this.location_href(this.env.comm_path+url, target);
|
|
|
|
|
|
|
|
|
|
|
|
// mark as read and change mbox unread counter
|
|
|
|
// mark as read and change mbox unread counter
|
|
|
@ -1917,6 +1915,12 @@ function rcube_webmail()
|
|
|
|
this.set_busy(false, null, this.env.frame_lock);
|
|
|
|
this.set_busy(false, null, this.env.frame_lock);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.lock_frame = function()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!this.env.frame_lock)
|
|
|
|
|
|
|
|
(this.is_framed() ? parent.rcmail : this).env.frame_lock = this.set_busy(true, 'loading');
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// list a specific page
|
|
|
|
// list a specific page
|
|
|
|
this.list_page = function(page)
|
|
|
|
this.list_page = function(page)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -3906,8 +3910,10 @@ function rcube_webmail()
|
|
|
|
if (this.env.group)
|
|
|
|
if (this.env.group)
|
|
|
|
add_url += '&_gid='+urlencode(this.env.group);
|
|
|
|
add_url += '&_gid='+urlencode(this.env.group);
|
|
|
|
|
|
|
|
|
|
|
|
this.set_busy(true);
|
|
|
|
this.lock_frame();
|
|
|
|
this.location_href(this.env.comm_path+'&_action='+action+'&_source='+urlencode(this.env.source)+'&_cid='+urlencode(cid) + add_url, target);
|
|
|
|
this.location_href(this.env.comm_path+'&_action='+action
|
|
|
|
|
|
|
|
+'&_source='+urlencode(this.env.source)
|
|
|
|
|
|
|
|
+'&_cid='+urlencode(cid) + add_url, target);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -4427,6 +4433,7 @@ function rcube_webmail()
|
|
|
|
this.contact_list.clear_selection();
|
|
|
|
this.contact_list.clear_selection();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.lock_frame();
|
|
|
|
this.location_href(this.env.comm_path+'&_action=search'+add_url, target);
|
|
|
|
this.location_href(this.env.comm_path+'&_action=search'+add_url, target);
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
@ -4460,6 +4467,7 @@ function rcube_webmail()
|
|
|
|
add_url = '&_framed=1';
|
|
|
|
add_url = '&_framed=1';
|
|
|
|
target = window.frames[this.env.contentframe];
|
|
|
|
target = window.frames[this.env.contentframe];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.lock_frame();
|
|
|
|
this.location_href(this.env.comm_path+'&_action=edit-prefs&_section='+id+add_url, target);
|
|
|
|
this.location_href(this.env.comm_path+'&_action=edit-prefs&_section='+id+add_url, target);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -4861,9 +4869,7 @@ function rcube_webmail()
|
|
|
|
this.show_contentframe(true);
|
|
|
|
this.show_contentframe(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
if (!this.env.frame_lock) {
|
|
|
|
this.lock_frame();
|
|
|
|
(parent.rcmail ? parent.rcmail : this).env.frame_lock = this.set_busy(true, 'loading');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.location_href(this.env.comm_path+url, target);
|
|
|
|
this.location_href(this.env.comm_path+url, target);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|