https://bugzilla.wikimedia.org/show_bug.cgi?id=61932

            Bug ID: 61932
           Summary: VisualEditor: "Uncaught TypeError: Cannot call method
                    'getModel' of null " appears while trying to add
                    newline after a reflist
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: jforres...@wikimedia.org
          Reporter: ryasm...@wikimedia.org
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, rm...@wikimedia.org,
                    ryasm...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Steps to reproduce:

1.Open a page with VE which has a reflist at the end of the page

2.Place your cursor at the end of the page and press enter to add a newline

Observed Result:
No newline gets added and an error appears in the console:


Uncaught TypeError: Cannot call method 'getModel' of null load.php:268
ve.ce.Surface.handleEnter load.php:268
ve.ce.Surface.onDocumentKeyDown load.php:247
proxy load.php:10
ve.EventSequencer.onEvent load.php:21
(anonymous function) load.php:20
jQuery.event.dispatch load.php:45
elemData.handle.eventHandle load.php:38

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to