Changeset 38 for trunk


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.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/full_example-menu.html

    r33 r38  
    2121</head> 
    2222 
    23 <body onload="xinha_init()"> 
     23<body> 
    2424  <h1>Xinha Examples</h1> 
    2525 
  • trunk/htmlarea.js

    r36 r38  
    816816      first = false; 
    817817    } 
     818    if(this.config.toolbar[i] == null) this.config.toolbar[i] = ['separator']; 
    818819    var group = this.config.toolbar[i]; 
     820 
    819821    for (var j = 0; j < group.length; ++j) 
    820822    { 
  • 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.