Changeset 647


Ignore:
Timestamp:
01/11/07 22:39:40 (11 years ago)
Author:
ray
Message:

moved loading of color_picker.js in HTMLArea.prototype._colorSelector() see #10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r635 r647  
    1  
     1  
    22  /*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:-- 
    33    --  Xinha (is not htmlArea) - http://xinha.gogo.co.nz/ 
     
    14661466  } 
    14671467 
    1468   if ( typeof colorPicker == 'undefined' ) 
    1469   { 
    1470     HTMLArea._loadback(_editor_url + 'popups/color_picker.js', this.generate, this ); 
    1471     return false; 
    1472   } 
    1473  
    14741468  if ( _editor_skin !== "" ) 
    14751469  { 
     
    36563650{ 
    36573651  var editor = this;    // for nested functions 
     3652   
     3653  if ( typeof colorPicker == 'undefined' ) 
     3654  { 
     3655    HTMLArea._loadback(_editor_url + 'popups/color_picker.js', function () {editor._colorSelector(cmdID)}); 
     3656    return false; 
     3657  } 
     3658   
    36583659  var btn = editor._toolbarObjects[cmdID].element; 
    36593660  var initcolor; 
Note: See TracChangeset for help on using the changeset viewer.