diff media/js/tiny_mce/plugins/fullpage/editor_plugin_src.js @ 247:6ed2932901fa

Update tinymce to 3.3.9
author Brian Neal <bgneal@gmail.com>
date Sat, 18 Sep 2010 19:54:11 +0000
parents 149c3567fec1
children
line wrap: on
line diff
--- a/media/js/tiny_mce/plugins/fullpage/editor_plugin_src.js	Sat Sep 18 19:39:16 2010 +0000
+++ b/media/js/tiny_mce/plugins/fullpage/editor_plugin_src.js	Sat Sep 18 19:54:11 2010 +0000
@@ -85,6 +85,10 @@
 		_setContent : function(ed, o) {
 			var t = this, sp, ep, c = o.content, v, st = '';
 
+			// Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate
+			if (o.format == 'raw' && t.head)
+				return;
+
 			if (o.source_view && ed.getParam('fullpage_hide_in_source_view'))
 				return;