Project

General

Profile

« Previous | Next » 

Revision 7925

web/vegpath/index.php: URL fragment redirect: Fixed bug where need to use parse_mixed_path() instead of parse_dot_path() to support XPaths

View differences:

web/vegpath/index.php
194 194
if (loc.hash)
195 195
{
196 196
	var fragment = rm_prefix('#', loc.hash)
197
	var namespace = parse_dot_path(fragment).head
197
	var namespace = parse_mixed_path(fragment).head
198 198
	document.getElementById(namespace).className = 'progress'
199 199
	document.location = fragment
200 200
}

Also available in: Unified diff