Defect #2390

JS-error in context_menu.js

Added by Alexander Oryol almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2008-12-23
Priority:NormalDue date:
Assignee:-% Done:

0%

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

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 almost 9 years ago

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

History

#1 Updated by Jean-Philippe Lang almost 9 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