Writer : ias 2007-11-09 17:00:00

Mac OS X 10.5

FF 2.0.0.9

에서

 uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://ias.lab01.openmaru.com:10015/javascripts/xquared.js?1193885472 :: anonymous :: line 709" data: no]

 

가 납니다.

setEditMode: function(mode) {
if(this.currentEditMode == mode) return;
var firstCall = mode != false && mode != 'readonly' && !this.outmostWrapper;
if(firstCall) {
// Create editor element if needed
this._createEditorFrame();
this._registerEventHandlers();
this.loadCurrentContentFromStaticContent();
if(!xq.Browser.isTrident) {
window.setTimeout(function() {
// Without it, Firefox doesn't display embedded SWF
this.getDoc().designMode = 'On';
// turn off Firefox's table editing feature
try {this.getDoc().execCommand("enableInlineTableEditing", false, "false")} catch(ignored) {}
}.bind(this), 0);
}

 } 

 

부분에서  

this.getDoc().designMode = 'On';

입니다. 

Mail notification

Comments