Skip to content

Releases: zipper/history.nette.ajax.js

Dependency update

18 Jan 09:25
4537a7a

Choose a tag to compare

Dependency update, nette.ajax.js allowed in higher version (^2.4.0).

Preserving state object on initialization

03 Jan 13:36
1322585

Choose a tag to compare

When calling replaceState on extension initialization, the original object in history state is preserved. I.e. when other JS call replaceState first with custom object, this object won't be lost after initializing history extension.

Added package.json

01 Jul 12:44

Choose a tag to compare

1.0.1

added package.json

Popstate condition fix and better `title` handling

06 Mar 11:41
25c97df

Choose a tag to compare

  • fixing condition in popstate event handler; since e is jQuery Event Object, there is no state property defined, we need to use e.originalEvent.state instead
  • if title element has data-ajax-update, then use this title when pushing new state and set document.title to this value; see vojtech-dobes/nette.ajax.js#151