Ticket #805: 805.patch
File 805.patch, 718 bytes (added by , 16 years ago) |
---|
-
editor/_source/internals/fck.js
1010 1010 // The return value indicates if the default behavior of the keystroke must 1011 1011 // be cancelled. Let's do that only if the Execute() call explicitly returns "false". 1012 1012 var oCommand = FCK.Commands.GetCommand( keystrokeValue ) ; 1013 1014 // If the command is disabled then ignore the keystroke 1015 if ( oCommand.GetState() == FCK_TRISTATE_DISABLED ) 1016 return false ; 1017 1013 1018 return ( oCommand.Execute.apply( oCommand, FCKTools.ArgumentsToArray( arguments, 2 ) ) !== false ) ; 1014 1019 } 1015 1020