summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-29 09:35:32 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-29 09:35:32 +0000
commitbc2ae7ddf40bfb8e9d9deb134ae80f5c1f3a6067 (patch)
tree61bfefa31dd5cfcf50356b288e0ce1485f42aa3e /roundcubemail/program
parent37382be4c8cda653b3cbf1ac8dc8f67370abb69b (diff)
- fix preloading images without defined source
git-svn-id: https://svn.roundcube.net/trunk@2805 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js5
1 files 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;