
Hier im Supportforum wurde übrigens heute ein neuer Patch eingespielt, der nun auch mit Opera normales Posten ermöglichen sollte! Bitte testen!

This post has been edited 1 times, last edit by "Netsrak" (Mar 24th 2010, 10:37pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
Murat:Desktop rellek$ diff -b -u Wysiwyg.class.js wl-Wysiwyg.class.js
--- Wysiwyg.class.js 2010-03-25 10:36:18.000000000 +0100
+++ wl-Wysiwyg.class.js 2010-03-25 10:37:22.000000000 +0100
@@ -24,17 +24,8 @@
this.settings = new Array();
- // Fake MSIE on Opera and if Opera fakes IE, Gecko or Safari cancel those
if (this.isOpera) {
- this.isMSIE = true;
- this.isGecko = false;
- this.isSafari = false;
- if (USER_AGENT.match(/opera\/9\.50/)) {
- this.isOpera95 = true;
- }
- if (USER_AGENT.match(/version\/10\.5/)) {
- this.isOpera105 = true;
- }
+ this.isGecko = true;
}
else if (this.isSafari) {
this.isGecko = true;
@@ -77,10 +68,7 @@
// give incompatible browser the possibility to insert bbcode tags via javascript
// no wysiwyg (insert bbcode tags instead)
// if admin didn't enabled wysiwyg or code view just show users the simple area
- if (this.isOpera105) {
- return false;
- }
- else if (typeof(document.execCommand) == 'undefined' || (tinyMCE.isSafari && !tinyMCE.isSafari3) || (!this.editorEnableWysiwygView && !this.editorEnableCodeView) || this.isOpera95 || this.isKonqueror) {
+ if (typeof(document.execCommand) == 'undefined' || (tinyMCE.isSafari && !tinyMCE.isSafari3) || (!this.editorEnableWysiwygView && !this.editorEnableCodeView) || this.isKonqueror) {
tinyMCE.isSimpleTextarea = true;
window.setTimeout("tinyMCE.loadSimpleTextarea()", 5);
}
@@ -5031,7 +5019,7 @@
bbCode = tinyMCE.decodeHTMLEntities(bbCode);
// delete multiple white spaces.
- bbCode = bbCode.replace(/(\t| {2,})/g, ' ');
+ bbCode = bbCode.replace(/[\t ]{2,}/g, ' ');
// delete white spaces on line start (// TODO: ?WHY THIS?)
bbCode = bbCode.replace(/\n /g, '\n');
Murat:Desktop rellek$
|


|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
@@ -24,17 +24,8 @@
this.settings = new Array();
- // Fake MSIE on Opera and if Opera fakes IE, Gecko or Safari cancel those
if (this.isOpera) {
- this.isMSIE = true;
- this.isGecko = false;
- this.isSafari = false;
- if (USER_AGENT.match(/opera\/9\.50/)) {
- this.isOpera95 = true;
- }
- if (USER_AGENT.match(/version\/10\.5/)) {
- this.isOpera105 = true;
- }
+ this.isGecko = true;
}
else if (this.isSafari) {
this.isGecko = true;
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
this.settings = new Array();
// Fake MSIE on Opera and if Opera fakes IE, Gecko or Safari cancel those
if (this.isOpera) {
this.isMSIE = true;
this.isGecko = false;
this.isSafari = false;
if (USER_AGENT.match(/opera\/9\.50/)) {
this.isOpera95 = true;
}
if (USER_AGENT.match(/version\/10\.5/)) {
this.isOpera105 = true;
}
}
else if (this.isSafari) {
this.isGecko = true;
|
|
|
Source code |
1 2 3 4 5 6 7 |
this.settings = new Array();
if (this.isOpera) {
this.isGecko = true;
}
else if (this.isSafari) {
this.isGecko = true;
|

This post has been edited 4 times, last edit by "Thomikie" (Mar 25th 2010, 2:22pm)
Forum Software: Burning Board® 3.1.6, developed by WoltLab® GmbH