Ошибка под Opera

Added by Alex Smirnov 9 months ago

Подключаю редактор так:

var opts = {
       lang : 'ru',
        styleWithCss : false,
        height  : 250,
        toolbar : 'compact',
        allowSource: false,
        denyTags : ['script'],
        cssfiles : ['/css/elrte-local.css'],
        fmAllow  : false
};
$('#text_message').elrte(opts);


В Firefox, Chrome и IE работает нормально, а в Opera получаю вот такую ошибку:
Event thread: DOMContentLoaded
Uncaught exception: ReferenceError: Security error: attempted to read protected variable
Error thrown at line 3, column 0 in <anonymous function: init>(selector, context, rootjQuery) in http://host/jscript/jquery-1.6.2.min.js:
    if(selector.nodeType)
called from line 2, column 313 in <anonymous function>(selector, context) in http://host/jscript/jquery-1.6.2.min.js:
    return new jQuery.fn.init(selector,context,rootjQuery);
called from line 33, column 334 in <anonymous function: elRTE>(o, j) in http://host/jscript/elrte.min.js:
    this.$doc=a(this.doc);
called from line 43, column 883 in <anonymous function: a.fn.elrte>() in http://host/jscript/elrte.min.js:
    this.elrte=new elRTE(this,typeof(g)=="object"?g:{})
called via Function.prototype.call() from unknown location in <anonymous function: each>(object, callback, args) in http://host/jscript/jquery-1.6.2.min.js:
    /* no source available */
called from line 13, column 60 in <anonymous function: each>(callback, args) in http://host/jscript/jquery-1.6.2.min.js:
    return jQuery.each(this,callback,args);
called from line 43, column 789 in <anonymous function: a.fn.elrte>(g, b) in http://host/jscript/elrte.min.js:
    this.each(function(){if(!this.elrte){this.elrte=new elRTE(this,typeof(g)=="object"?g:{})
called from line 6, column 197 in new_message_complete() in http://host/jscript/scripts.min.js:
    $('#text_message').elrte(opts);
called from line 1, column 0 in evaluated code:
    new_message_complete()

Если это важно, то опера 11.50 под linux
Версия elrte - 1.3


Replies (3)

RE: Ошибка под Opera - Added by Dmitry Levashov 9 months ago

На нашем демо эта ошибка повторяется?

RE: Ошибка под Opera - Added by Alex Smirnov 9 months ago

Alex Smirnov wrote:

Подключаю редактор так:

[...] В Firefox, Chrome и IE работает нормально, а в Opera получаю вот такую ошибку:

[...]

Если это важно, то опера 11.50 под linux Версия elrte - 1.3

вопрос снимается..
дело было не в elrte

Всего хорошего.

RE: Ошибка под Opera - Added by Дмитрий Шипилов 7 months ago

Alex Smirnov, мне на данный момент это очень акутально, получаю такую же ошибку, в чем у Вас было дело?

(1-3/3)