Changeset 152 for trunk/plugins/CSS


Ignore:
Timestamp:
05/11/05 09:32:40 (14 years ago)
Author:
gocher
Message:

Changes addToolbarElement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/CSS/css.js

    r135 r152  
    4545        this.editor = editor; 
    4646        var cfg = editor.config; 
    47         var toolbar = cfg.toolbar; 
    4847        var self = this; 
    4948        var plugin_config; 
     
    5958  var combos = plugin_config.combos; 
    6059 
    61         var first = true; 
    6260        for (var i = 0; i < combos.length; i++) { 
    6361                var combo = combos[i]; 
     
    7270                cfg.registerDropdown(css_class); 
    7371    cfg.addToolbarElement(["T[" + combo.label + "]", id, "separator"] , "formatblock", -1); 
    74                 first = false; 
    75         } 
     72        } 
    7673}; 
    7774 
Note: See TracChangeset for help on using the changeset viewer.