Changeset 704 for trunk/plugins


Ignore:
Timestamp:
01/29/07 13:53:12 (12 years ago)
Author:
ray
Message:

changed name of of colorPicker() to Xinha.colorPicker() see #923

Location:
trunk/plugins
Files:
3 edited

Legend:

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

    r702 r704  
    7171     
    7272    var editor = window.dialogArguments.editor; 
    73     if (manager_mode == 'image' && typeof colorPicker != "undefined" && document.getElementById('bgCol_pick')) { 
     73    if (manager_mode == 'image' && typeof Xinha.colorPicker != "undefined" && document.getElementById('bgCol_pick')) { 
    7474        // Hookup color pickers 
    7575        var pickerConfig = { 
     
    8383        var f_backgroundColor = document.getElementById('f_backgroundColor'); 
    8484        pickerConfig.callback = function(color){f_backgroundColor.value=color;}; 
    85         var bgColPicker = new colorPicker(pickerConfig); 
     85        var bgColPicker = new Xinha.colorPicker(pickerConfig); 
    8686        bgCol_pick.onclick = function() { bgColPicker.open('top,right', f_backgroundColor ); } 
    8787 
     
    8989        var f_borderColor = document.getElementById('f_borderColor'); 
    9090        pickerConfig.callback = function(color){f_borderColor.value=color;}; 
    91         var bgColPicker = new colorPicker(pickerConfig); 
     91        var bgColPicker = new Xinha.colorPicker(pickerConfig); 
    9292        bdCol_pick.onclick = function() { bdColPicker.open('top,right', f_borderColor ); } 
    9393    } 
  • trunk/plugins/FullPage/popups/docprop.html

    r700 r704  
    3535  var bgCol_pick = document.getElementById('bgCol_pick'); 
    3636  var f_body_bgcolor = document.getElementById('f_body_bgcolor'); 
    37   var bgColPicker = new colorPicker({cellsize:'5px',callback:function(color){f_body_bgcolor.value=color;}}); 
     37  var bgColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_body_bgcolor.value=color;}}); 
    3838  bgCol_pick.onclick = function() { bgColPicker.open('top,right', f_body_bgcolor ); } 
    3939 
    4040  var fgCol_pick = document.getElementById('fgCol_pick'); 
    4141  var f_body_fgcolor = document.getElementById('f_body_fgcolor'); 
    42   var fgColPicker = new colorPicker({cellsize:'5px',callback:function(color){f_body_fgcolor.value=color;}}); 
     42  var fgColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_body_fgcolor.value=color;}}); 
    4343  fgCol_pick.onclick = function() { fgColPicker.open('top,right', f_body_fgcolor ); } 
    4444 
  • trunk/plugins/ImageManager/assets/manager.js

    r702 r704  
    4040    var bgCol_pick = document.getElementById('bgCol_pick'); 
    4141    var f_backgroundColor = document.getElementById('f_backgroundColor'); 
    42     var bgColPicker = new colorPicker({cellsize:'5px',callback:function(color){f_backgroundColor.value=color;}}); 
     42    var bgColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_backgroundColor.value=color;}}); 
    4343    bgCol_pick.onclick = function() { bgColPicker.open('top,right', f_backgroundColor ); } 
    4444 
    4545    var bdCol_pick = document.getElementById('bdCol_pick'); 
    4646    var f_borderColor = document.getElementById('f_borderColor'); 
    47     var bdColPicker = new colorPicker({cellsize:'5px',callback:function(color){f_borderColor.value=color;}}); 
     47    var bdColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_borderColor.value=color;}}); 
    4848    bdCol_pick.onclick = function() { bdColPicker.open('top,right', f_borderColor ); } 
    4949 
Note: See TracChangeset for help on using the changeset viewer.