- Two fixes for Konqueror

release-0.6
alecpl 14 years ago
parent 5807133b88
commit 9601f05424

@ -1759,11 +1759,11 @@ function rcube_webmail()
this.show_contentframe = function(show) this.show_contentframe = function(show)
{ {
var frm; var frm, win;
if (this.env.contentframe && (frm = $('#'+this.env.contentframe)) && frm.length) { if (this.env.contentframe && (frm = $('#'+this.env.contentframe)) && frm.length) {
if (!show && window.frames[this.env.contentframe]) { if (!show && (win = window.frames[this.env.contentframe])) {
if (window.frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0) if (win.location && win.location.href.indexOf(this.env.blankpage)<0)
window.frames[this.env.contentframe].location.href = this.env.blankpage; win.location.href = this.env.blankpage;
} }
else if (!bw.safari && !bw.konq) else if (!bw.safari && !bw.konq)
frm[show ? 'show' : 'hide'](); frm[show ? 'show' : 'hide']();
@ -3725,7 +3725,7 @@ function rcube_webmail()
this.name_input_li.insertAfter(li); this.name_input_li.insertAfter(li);
} }
this.name_input.select(); this.name_input.select().focus();
}; };
this.group_rename = function() this.group_rename = function()
@ -3745,7 +3745,7 @@ function rcube_webmail()
} }
} }
this.name_input.select(); this.name_input.select().focus();
}; };
this.group_delete = function() this.group_delete = function()

Loading…
Cancel
Save