Changeset 3196
- Timestamp:
- 11/26/06 22:11:40 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/common/script.js.php
r3040 r3196 141 141 if (confirm("About to reload backend configuration. This applies all outstanding changes to the live server.")) { 142 142 143 var newlocation; 143 144 if (document.all) { 144 145 // need this for IE : http://support.microsoft.com/kb/q190244/ 145 146 window.event.returnValue = false; 146 147 // IE also uses window.location.href instead of location.href 147 location = window.location.href;148 newlocation = window.location.href; 148 149 } else { 149 location = location.href;150 newlocation = location.href; 150 151 } 151 152 152 153 if (location.href.indexOf('?') == -1) { 153 location = location + '?clk_reload=true';154 newlocation = location + '?clk_reload=true'; 154 155 } else { 155 location = location + '&clk_reload=true'; 156 } 156 newlocation = location + '&clk_reload=true'; 157 } 158 location = newlocation.replace(/action/,"var-disabled"); 157 159 158 160 }
