Project

General

Profile

Bug #20156 » rtehtmlarea_bugfix_10656_trunk.patch

Administrator Admin, 2009-03-11 00:54

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
HTMLArea.is_gecko = (navigator.product == "Gecko") || HTMLArea.is_opera;
HTMLArea.is_ff2 = (HTMLArea.agt.indexOf("firefox/2") != -1);
HTMLArea.is_chrome = HTMLArea.is_safari && (HTMLArea.agt.indexOf("chrome") != -1);
// Check on MacOS Wamcom version 1.3 but exclude Firefox rv 1.8.1.3
HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) || (HTMLArea.is_gecko && HTMLArea.agt.indexOf("1.3") != -1 && HTMLArea.agt.indexOf(".1.3") == -1);
// Check on MacOS Wamcom version 1.3, if Mozilla will check earliest supported build in checkSupportedBrowser()
HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) || (HTMLArea.is_gecko && HTMLArea.agt.indexOf("rv:1.3") != -1);
/*
* A log for troubleshooting
......
doc.body.className = "htmlarea-content-body";
// Initialize editor mode
this.getPluginInstance("EditorMode").init();
if (!this.getPluginInstance("EditorMode").init()) {
return false;
}
// set editor number in iframe and document for retrieval in event handlers
doc._editorNo = this._editorNumber;
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js (copie de travail)
this.setEditorMode("docnotwellformedmode");
this.appendToLog("init", "Design mode could not be set.");
}
return true;
},
/*
(2-2/2)