Javascript function dnson / dnsoff seems unused. Added a warning message using alert.

This commit is contained in:
François Serman 2012-08-27 13:37:37 +00:00
parent 73d3d94345
commit 14a5d9aa14
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ $dom->unlock();
?>
<script type="text/javascript">
function dnson() {
alert('This function seems unused. If you see this message, please let us know.');
// Active les composants DNS :
if (document.forms["fdns"].mx.disabled!=null)
document.forms["fdns"].mx.disabled=false;
@ -54,6 +55,7 @@ function dnson() {
document.forms["fdns"].emailoff.disabled=true;
}
function dnsoff() {
alert('This function seems unused. If you see this message, please let us know.');
// Active les composants DNS :
if (document.forms["fdns"].mx.disabled!=null)
document.forms["fdns"].mx.disabled=true;