Ignore:
Timestamp:
03/06/05 08:45:27 (15 years ago)
Author:
gogo
Message:

Erroneous onload in example removed.
Another of those Array prototype problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/InsertAnchor/insert-anchor.js

    r25 r38  
    55  var bl = InsertAnchor.btnList; 
    66  var self = this; 
    7    
     7 
    88  // register the toolbar buttons provided by this plugin 
    99  var toolbar = []; 
    1010  for (var i in bl) { 
     11    if(typeof bl[i] == 'function') continue; 
    1112    var btn = bl[i]; 
    1213    if (!btn) { 
     
    2324    } 
    2425  } 
    25    
     26 
    2627  for (var i in toolbar) { 
    2728    cfg.toolbar[0].push(toolbar[i]); 
     
    7778      editor.insertNodeAtSelection(alink); 
    7879    } 
    79   }  
     80  } 
    8081  catch (e) { } 
    8182} 
Note: See TracChangeset for help on using the changeset viewer.