support embedded pages as a hash since the concatenated form represents a file

This commit is contained in:
John Bender 2011-08-16 12:55:03 -07:00
parent 43b1b776d9
commit 72ce65767e

View file

@ -28,9 +28,11 @@
onHashAlter: function( e ) {
self.hashchangeFired = true;
if( $.support.pushState ) {
// only replaceState when pushState support is present and
// the hash doesn't represent an embeded page
if( $.support.pushState && location.hash.search("/") > 0) {
var hash = location.hash || "#" + self.initialFilePath,
href = hash.replace( "#", "" );
href = hash.replace( "#", "" );
//support dialog urls
if( href ) {