Opened 14 years ago

Last modified 14 years ago

#4797 closed Bug

Opera: using enter key in dialogs triggers javascript error — at Version 1

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.0.1
Keywords: Confrmed Opera Cc: Alfonso Martínez de Lizarrondo

Description (last modified by Wiktor Walc)

When pressing enter in the dialog, an error occurs

Steps to reproduce (1)

  • select some text
  • open link dialog
  • type some url and press enter (without moving with a tab to the "ok" button)
  • result:
    Event thread: change
    Error:
    name: TypeError
    message: Statement on line 2255: Cannot convert undefined or null to Object
    stacktrace:   Line 2255 of linked script http://127.0.0.1/ckeditor%203.0.x/_source/plugins/dialog/plugin.js
        			return this.getInputElement().getValue();
      Line 72 of linked script http://127.0.0.1/ckeditor%203.0.x/_source/plugins/dialogui/plugin.js
        function(){ this.fire( 'change', { value : this.getValue() } ); }
      ...  Line 150 of linked script http://127.0.0.1/ckeditor%203.0.x/_source/core/event.js
        						listenerFunction.call( scopeObj, ev );
      ...  Line 245 of linked script http://127.0.0.1/ckeditor%203.0.x/_source/core/event.js
        								var retData = listeners[i].call( this, editor, data, stopEvent, cancelEvent );
      Line 48 of linked script http://127.0.0.1/ckeditor%203.0.x/_source/core/dom/domobject.js
        				domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
      ... 
    

Change History (2)

comment:1 Changed 14 years ago by Wiktor Walc

Description: modified (diff)
Summary: Opera: using enter key in dialogs causing various issuesOpera: using enter key in dialogs triggers javascript error

Changed 14 years ago by Minh Nguyen

Attachment: 4797.patch added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy