Defect #2390

JS-error in context_menu.js

Added by Alexander Oryol over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:2008-12-23
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:0.8
Affected version:0.8.0-RC1 Resolution:Fixed

Description

In IE6, IE8 on /my/page when left-click on page:

Line: 51
Error: 'undefined' is null or not an object

For fix - context_menu.js:51
Was:
if (tr!=document && tr.hasClassName('hascontextmenu')) {
Need:
if (tr!=null && tr!=document && tr.hasClassName('hascontextmenu')) {

Associated revisions

Revision 2178
Added by Jean-Philippe Lang over 3 years ago

Fixes a JS error on context_menu with IE (#2390).

History

#1 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from New to Closed
  • Target version set to 0.8
  • Resolution set to Fixed

Fix committed in r2178.

Also available in: Atom PDF