Bug #20156 » rtehtmlarea_bugfix_10656_typo3_4-2.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
69 | 69 |
HTMLArea.is_safari = (HTMLArea.agt.indexOf("webkit") != -1); |
70 | 70 |
HTMLArea.is_gecko = (navigator.product == "Gecko") || HTMLArea.is_opera; |
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 |