alecpl
2009-07-29 9e953bc2d468d3e1c1ddbdfdb62339af6c624711
- fix preloading images without defined source 


1 files modified
5 ■■■■■ changed files
program/js/app.js 5 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -134,7 +134,7 @@
      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 @@
    
    if (this.env.permaurl)
      this.enable_command('permaurl', true);
    switch (this.task)
      {
      case 'mail':
@@ -3370,7 +3370,6 @@
        if (prop.type == 'image') {
          elm = elm.parentNode;
          preload = true;
          new Image().src = prop.sel;
        }
        
        elm._command = cmd;