Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#23780 closed defect (bug) (fixed)

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

Reported by: markjaquith Owned by: 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
3 years ago

Seeing it too:

Error: TypeError: self.save 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
3 years ago

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

In 23703:

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

props azaozz. fixes #23780

Note: See TracTickets for help on using tickets.