Changeset 1255
- Timestamp:
- 07/14/09 23:15:26 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Full.js
r1204 r1255 114 114 115 115 // TODO: configurablize!!!1!!!!!111!!!!!! 116 var pathname = document.location.pathname.replace(/\/[^\/]*$/, '/embed.html');116 var pathname = window.location.pathname.replace(/\/[^\/]*$/, '/embed.html'); 117 117 var url = 118 document.location.protocol + "//" +119 document.location.hostname+118 window.location.protocol + "//" + 119 window.location.host + 120 120 pathname + "?" + query; 121 121