JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.3
[ckeditor.git] / _source / plugins / sourcearea / plugin.js
index 4e9e0da..91430fe 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -106,7 +106,7 @@ CKEDITOR.plugins.add( 'sourcearea',
                                                        setTimeout( function()\r
                                                        {\r
                                                                editor.mode = 'source';\r
-                                                               editor.fire( 'mode' );\r
+                                                               editor.fire( 'mode', { previousMode : editor._.previousMode } );\r
                                                        },\r
                                                        ( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 );\r
                                                },\r