Changeset 3040
- Timestamp:
- 11/09/06 10:48:17 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/common/script.js.php
r2891 r3040 140 140 function amp_apply_changes() { 141 141 if (confirm("About to reload backend configuration. This applies all outstanding changes to the live server.")) { 142 143 if (document.all) { 144 // need this for IE : http://support.microsoft.com/kb/q190244/ 145 window.event.returnValue = false; 146 // IE also uses window.location.href instead of location.href 147 location = window.location.href; 148 } else { 149 location = location.href; 150 } 151 142 152 if (location.href.indexOf('?') == -1) { 143 location .href = location.href+ '?clk_reload=true';153 location = location + '?clk_reload=true'; 144 154 } else { 145 location .href = location.href+ '&clk_reload=true';155 location = location + '&clk_reload=true'; 146 156 } 147 157 148 //location.href = '<?php // echo $href; ?>';149 158 } 150 159 }
