Changeset 2124
- Timestamp:
- 01/02/07 20:00:51 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Util.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Util.js
r2093 r2124 799 799 urlObject.pathname = a.pathname; 800 800 801 //Test to see if the pathname includes the arguments (this happens in Opera) 802 var qIndex = urlObject.pathname.indexOf("?"); 803 if (qIndex != -1) { 804 urlObject.pathname = urlObject.pathname.substring(0, qIndex); 805 } 806 807 801 808 //hash 802 809 urlObject.hash = (options.ignoreHash) ? "" : a.hash;
