Opened 14 years ago

Last modified 14 years ago

#4797 closed Bug

Opera: using enter key in dialogs causing various issues — at Initial Version

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

When using enter in the dialog, an error occurs and sometimes input elements become uneditable.

This issue appears in two ways.

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 ) );
      ... 
    

Steps to reproduce (2)

  • select some text
  • open link dialog
  • type some url, press tab to move to the "Ok" button and then press enter
  • result: no errors in the error console... but if you now open any dialog with the input element, you'll not be able to type there anything (for example in the "Find and Replace" dialog).

The second issue didn't exist in CKEditor 3.0.1 because it was impossible in Opera to tab with a keyboard to the "Ok" button.

Change History (0)

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