Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23780 closed defect (bug) (fixed)

JS Error: <#HTMLDocument> has no method 'save'

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: 3.6 Priority: high
Severity: major Version: 3.6
Component: General Keywords:
Focuses: Cc:


On clicking "Save Draft" I get:

Uncaught TypeError: Object <#HTMLDocument> has no method 'save'

Suspect it is related to the local autosave stuff. Going to run a bisect to narrow it down to a commit.

Change History (2)

#1 @SergeyBiryukov
11 years ago

Seeing it too:

Error: TypeError: is not a function
Source File: http://trunk.wordpress/wp-includes/js/autosave.js?ver=3.6-alpha-23695
Line: 555

Appears to be introduced in [23683].

#2 @markjaquith
11 years ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In 23703:

Wrap in an anonymous function wrapper so self always gets the same scope.

props azaozz. fixes #23780

Note: See TracTickets for help on using tickets.