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)
69 69
HTMLArea.is_gecko  = (navigator.product == "Gecko") || HTMLArea.is_opera;
70 70
HTMLArea.is_ff2 = (HTMLArea.agt.indexOf("firefox/2") != -1);
71 71
HTMLArea.is_chrome = HTMLArea.is_safari && (HTMLArea.agt.indexOf("chrome") != -1);
72
// Check on MacOS Wamcom version 1.3 but exclude Firefox rv 1.8.1.3
73
HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) || (HTMLArea.is_gecko && HTMLArea.agt.indexOf("1.3") != -1 && HTMLArea.agt.indexOf(".1.3") == -1);
72
// Check on MacOS Wamcom version 1.3, if Mozilla will check earliest supported build in checkSupportedBrowser()
73
HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) || (HTMLArea.is_gecko && HTMLArea.agt.indexOf("rv:1.3") != -1);
74 74

  
75 75
/*
76 76
 * A log for troubleshooting
......
1097 1097
	doc.body.className = "htmlarea-content-body";
1098 1098

  
1099 1099
		// Initialize editor mode
1100
	this.getPluginInstance("EditorMode").init();
1100
	if (!this.getPluginInstance("EditorMode").init()) {
1101
		return false;
1102
	}
1101 1103

  
1102 1104
		// set editor number in iframe and document for retrieval in event handlers
1103 1105
	doc._editorNo = this._editorNumber;
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js (copie de travail)
115 115
			this.setEditorMode("docnotwellformedmode");
116 116
			this.appendToLog("init", "Design mode could not be set.");
117 117
		}
118
		return true;
118 119
	},
119 120

  
120 121
	/*
(2-2/2)