Topic on MediaWiki talk:Gadget-CodeEditor.js

He7d3r (talkcontribs)

If I open a protected page such as this wich I cannot edit, I get the following error:

Uncaught TypeError: Cannot read property 'modules' of undefined

from the line

$.wikiEditor.modules.codeEditor = {

of CodeEditor/modules/jquery.codeEditor.js and also

Uncaught TypeError: Object [object Object] has no method 'wikiEditor'

from line

$( '#wpTextbox1' ).wikiEditor( 'addModule', 'codeEditor' );

of CodeEditor/modules/ext.codeEditor.js.

Reply to "Uncaught TypeError"