Fixes problem with saving in inline mode.

Before this change, I always got an error:

Uncaught TypeError: Cannot read property 'autosave' of undefined plugin.js:515