From: ichim-david <svn...@pl...> - 2013-01-31 06:09:09
|
Repository: plone.app.search Branch: refs/heads/master Date: 2013-01-30T22:08:44-08:00 Author: ichim-david () <ich...@gm...> Commit: https://github.com/plone/plone.app.search/commit/d34ee3fc38c61489b2112d5037d5dd394084abfe Restored compatibility with IE <= 8 by undoing change done in 8e760c Files changed: M CHANGES.rst M plone/app/search/search.js diff --git a/CHANGES.rst b/CHANGES.rst index 7dbee2b..1cea54a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 1.1.2 (unreleased) ------------------ -- Nothing changed yet. +- Restored compatibility with IE <= 8 for search.js broke in previous egg + [ichimdav] 1.1.2 (2013-01-30) diff --git a/plone/app/search/search.js b/plone/app/search/search.js index 8e67af5..56e7ed5 100644 --- a/plone/app/search/search.js +++ b/plone/app/search/search.js @@ -80,7 +80,7 @@ jQuery(function ($) { // Used to detect initial (useless) popstate. // If history.state exists, assume browser isn't going to fire initial popstate. - popped = (window.history && window.history.hasOwnProperty('state')); + popped = (window.history && 'state' in window.history); initialURL = location.href; |