Modify

Opened 7 years ago

Closed 4 years ago

#1839 closed defect (invalid)

script error under ie 7

Reported by: phpxcache@… Owned by: coderanger
Priority: normal Component: CtxtnavAddPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

old_li.removeAttribute('class');

object is undefined

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by coderanger

The 0.10 version is no longer maintained, please try again with the 0.11 version.

comment:2 follow-up: Changed 7 years ago by phpxcache@…

it seems ie7 use className instead of class, so why not just read obj.className, and remove both using obj.removeAttribute('class'); obj.removeAttribute('className'). it works after i change the code a bit

comment:3 in reply to: ↑ 2 Changed 4 years ago by rjollos

  • Resolution set to invalid
  • Status changed from new to closed

Replying to phpxcache@gmail.com:

it seems ie7 use className instead of class, so why not just read obj.className, and remove both using obj.removeAttribute('class'); obj.removeAttribute('className'). it works after i change the code a bit

coderange replied that 0.10 is no longer maintained.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.