[pLog-svn] r4187 - plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Oct 25 12:12:44 GMT 2006


Author: oscar
Date: 2006-10-25 12:12:44 +0000 (Wed, 25 Oct 2006)
New Revision: 4187

Modified:
   plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/editor_plugin.js
   plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/functions.js
Log:
I hate IE.


Modified: plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/editor_plugin.js
===================================================================
--- plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/editor_plugin.js	2006-10-25 11:15:47 UTC (rev 4186)
+++ plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/editor_plugin.js	2006-10-25 12:12:44 UTC (rev 4187)
@@ -117,11 +117,11 @@
 					objectTag = content.substring(startPos,endPos);
 					attribs = TinyMCE_insertvideoPlugin._parseAttributes( objectTag );
 					
-					var class = "";
+					var cssClass = "";
 					if( getVideoType( attribs["data"] ) == 1 )
-						class = "ltVideoGoogleVideo";
+						cssClass = "ltVideoGoogleVideo";
 					else
-						class = "ltVideoYouTube";
+						cssClass = "ltVideoYouTube";
 					
 
 					// Insert image
@@ -129,7 +129,7 @@
 					content = content.substring(0, startPos);
 					content += '<img width="' + attribs["width"] + '" height="' + attribs["height"] + '"';
 					content += ' src="' + (tinyMCE.getParam("theme_href") + '/images/spacer.gif') + '" title="' + attribs["data"] + '"';
-					content += ' alt="' + attribs["data"] + '" class="'+class+'" />' + content.substring(endPos);
+					content += ' alt="' + attribs["data"] + '" class="'+cssClass+'" />' + content.substring(endPos);
 					content += contentAfter;
 					index++;
 
@@ -160,8 +160,6 @@
 					startPos++;
 				}*/
 				
-				//window.alert("content after processing: " + content );
-
 				break;
 
 			case "get_from_editor":

Modified: plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/functions.js
===================================================================
--- plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/functions.js	2006-10-25 11:15:47 UTC (rev 4186)
+++ plog/branches/lifetype-1.1.2/js/tinymce/plugins/insertvideo/functions.js	2006-10-25 12:12:44 UTC (rev 4187)
@@ -45,8 +45,6 @@
 		url = "http://video.google.com/googleplayer.swf?docId=" + videoId;
 	}
 	
-	window.alert(url);
-	
 	return( url );
 }
 



More information about the pLog-svn mailing list