From bc2ae7ddf40bfb8e9d9deb134ae80f5c1f3a6067 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 29 Jul 2009 09:35:32 +0000 Subject: - fix preloading images without defined source git-svn-id: https://svn.roundcube.net/trunk@2805 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index a0679264a..9cd423116 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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; -- cgit v1.2.3