Changeset 576


Ignore:
Timestamp:
09/18/06 19:54:03 (13 years ago)
Author:
koto
Message:

ExtendedFileManager? updates:

  • bugfix: JS error displayed in manager.js when use_color_pickers was true and images_enable_styling was false
  • added a small comment in config.inc.php
Location:
trunk/plugins/ExtendedFileManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/assets/manager.js

    r572 r576  
    5858    if(uploadForm) uploadForm.target = 'imgManager'; 
    5959 
    60     if (manager_mode == 'image' && typeof colorPicker != "undefined") { 
     60    if (manager_mode == 'image' && typeof colorPicker != "undefined" && document.getElementById('bgCol_pick')) { 
    6161        // Hookup color pickers 
    6262        var bgCol_pick = document.getElementById('bgCol_pick'); 
  • trunk/plugins/ExtendedFileManager/config.inc.php

    r574 r576  
    217217 FALSE - No input field for alt attribute will be displayed. 
    218218 
    219  NOTE: The alt attribute is _obligatory_ for images 
     219 NOTE: The alt attribute is _obligatory_ for images, so <img alt="" /> will be inserted 
     220      if 'images_enable_alt' is set to false 
    220221*/ 
    221222$IMConfig['images_enable_alt'] = true; 
     
    249250 
    250251*/ 
    251 $IMConfig['images_enable_styling'] = true;  
     252$IMConfig['images_enable_styling'] = true; 
    252253 
    253254/* 
Note: See TracChangeset for help on using the changeset viewer.