Changeset 139


Ignore:
Timestamp:
05/10/05 06:02:42 (14 years ago)
Author:
niko
Message:

#244
EnterParagraphs? gets only loaded in first editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r138 r139  
    150150    } else { 
    151151      document.title = savetitle; 
    152       HTMLArea.onload(); 
     152    HTMLArea.onload(); 
    153153    } 
    154154  }; 
     
    10691069        if(typeof EnterParagraphs == 'undefined') 
    10701070        { 
    1071           EnterParagraphs = 'null'; 
    1072           HTMLArea._loadback 
    1073             (_editor_url + 'plugins/EnterParagraphs/enter-paragraphs.js', function() { editor.registerPlugin('EnterParagraphs'); editor.generate(); } ); 
     1071          HTMLArea.loadPlugin("EnterParagraphs", function() { editor.generate(); } ); 
    10741072          return false; 
    10751073        } 
     1074        editor.registerPlugin('EnterParagraphs'); 
    10761075      } 
    10771076      break; 
Note: See TracChangeset for help on using the changeset viewer.