Development

Changeset 6351

You must first sign up to be able to contribute.

Changeset 6351

Show
Ignore:
Timestamp:
12/07/07 10:02:37 (5 years ago)
Author:
fabien
Message:

sfMediaLibrary: fixed JS breaking with Adblock/Filterset.G (closes #2625)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfMediaLibraryPlugin/README

    r5980 r6351  
    141141== TODO == 
    142142 
    143  * Add screenshots to the wiki description 
    144143 * Improve CSS and design 
    145144 * Improve compatibility 
     
    152151=== Trunk === 
    153152 
     153 * fabien: fixed JS breaking with Adblock/Filterset.G (#2625) 
    154154 
    155155=== 2007-11-12 | 0.9.0 Beta ===  
  • plugins/sfMediaLibraryPlugin/web/js/main.js

    r3780 r6351  
    3535      if (this.fileBrowserType == 'image') 
    3636      { 
    37         this.fileBrowserWin.showPreviewImage(url); 
     37        try 
     38        { 
     39          this.fileBrowserWin.showPreviewImage(url); 
     40        } 
     41        catch (ex) 
     42        { 
     43        } 
    3844      } 
    3945    }