[richfaces-svn-commits] JBoss Rich Faces SVN: r13376 - trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Apr 3 10:11:07 EDT 2009


Author: pyaschenko
Date: 2009-04-03 10:11:07 -0400 (Fri, 03 Apr 2009)
New Revision: 13376

Modified:
   trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
Log:
https://jira.jboss.org/jira/browse/RF-6673

Modified: trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
===================================================================
--- trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js	2009-04-03 13:32:44 UTC (rev 13375)
+++ trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js	2009-04-03 14:11:07 UTC (rev 13376)
@@ -94,7 +94,7 @@
 		if (!t)
 			return n != 'undefined';
 
-		if (t == 'array' && (o instanceof Array))
+		if (t == 'array' && o.hasOwnProperty && (o instanceof Array)) //RF: applied 2619922 patch // not needed for update tinymce
 			return true;
 
 		return n == t;
@@ -835,7 +835,7 @@
 		}
 
 		if (t == 'object') {
-			if (o instanceof Array) {
+			if (o.hasOwnProperty && o instanceof Array) { //RF: applied 2619922 patch // not needed for update tinymce
 					for (i=0, v = '['; i<o.length; i++)
 						v += (i > 0 ? ',' : '') + s(o[i]);
 
@@ -2460,7 +2460,7 @@
 			var cb, t = this, el = t.events, r;
 
 			// Handle array
-			if (o && o instanceof Array) {
+			if (o && o.hasOwnProperty && o instanceof Array) { //RF: applied 2619922 patch // not needed for update tinymce
 				r = [];
 
 				each(o, function(o) {
@@ -2522,7 +2522,7 @@
 			var t = this, a = t.events, s = false, r;
 
 			// Handle array
-			if (o && o instanceof Array) {
+			if (o && o.hasOwnProperty && o instanceof Array) { //RF: applied 2619922 patch // not needed for update tinymce
 				r = [];
 
 				each(o, function(o) {




More information about the richfaces-svn-commits mailing list