Index: /CKEditor/branches/features/adobeair/_source/plugins/button/plugin.js
===================================================================
--- /CKEditor/branches/features/adobeair/_source/plugins/button/plugin.js	(revision 6149)
+++ /CKEditor/branches/features/adobeair/_source/plugins/button/plugin.js	(revision 6150)
@@ -174,5 +174,5 @@
 				'<a id="', id, '"' +
 					' class="', classes, '"',
-					env.gecko && env.version >= 10900 && !env.hc  ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( "'"+ '' )+ '\')"',
+					env.gecko && env.version >= 10900 && !env.hc  ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( /'/g, '' ) + '\')"',
 					' title="', this.title, '"' +
 					' tabindex="-1"' +
@@ -261,5 +261,5 @@
 	};
 
-} )();
+})();
 
 /**
Index: /CKEditor/branches/features/adobeair/_source/plugins/menu/plugin.js
===================================================================
--- /CKEditor/branches/features/adobeair/_source/plugins/menu/plugin.js	(revision 6149)
+++ /CKEditor/branches/features/adobeair/_source/plugins/menu/plugin.js	(revision 6150)
@@ -265,5 +265,4 @@
 		}
 	});
-	CKEDITOR.event.implementOn( CKEDITOR.menu, true );
 
 	function sortItems( items )
@@ -352,5 +351,4 @@
 			var offset = ( this.iconOffset || 0 ) * -16;
 			output.push(
-//					' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' +
 					' onmouseover="CKEDITOR.tools.callFunction(', menu._.itemOverFn, ',', index, ');"' +
 					' onmouseout="CKEDITOR.tools.callFunction(', menu._.itemOutFn, ',', index, ');"' +
