From 9e953bc2d468d3e1c1ddbdfdb62339af6c624711 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 29 Jul 2009 09:35:32 +0000 Subject: [PATCH] - fix preloading images without defined source --- program/js/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index a0679264a..9cd423116 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -134,7 +134,7 @@ function rcube_webmail() this.goto_url('error', '_code=0x199'); return; } - + // find all registered gui containers for (var n in this.gui_containers) this.gui_containers[n] = $('#'+this.gui_containers[n]); @@ -155,7 +155,7 @@ function rcube_webmail() if (this.env.permaurl) this.enable_command('permaurl', true); - + switch (this.task) { case 'mail': @@ -3370,7 +3370,6 @@ function rcube_webmail() if (prop.type == 'image') { elm = elm.parentNode; preload = true; - new Image().src = prop.sel; } elm._command = cmd;