version 1.46, 2006/08/08 19:02:04
|
version 1.47, 2006/08/10 21:46:40
|
Line 113 function process(calling,numauto,nummanu
|
Line 113 function process(calling,numauto,nummanu
|
} |
} |
if (calling == "notify") { |
if (calling == "notify") { |
var totalnote = 0; |
var totalnote = 0; |
if (formName.notify[1].checked = true) { |
for (var i=0; i<formName.elements.length; i++) { |
for (var i=0; i<formName.elements.length; i++) { |
var elementname = formName.elements[i].name; |
var elementname = formName.elements[i].name; |
var check_name = elementname.match($notify_check); |
var check_name = elementname.match($notify_check); |
if (check_name != null) { |
if (check_name != null) { |
if (formName.elements[i].checked) { |
if (formName.elements[i].checked) { |
totalnote ++; |
totalnote ++; |
} |
} |
} |
} |
} |
} |
if (totalnote > 0) { |
if (totalnote > 0) { |
if (formName.notify[1].checked == true) { |
if (formName.notify[1].checked = true) { |
if (confirm("You have indicated that you do not want notification of roster changes messages to be sent, but "+totalnote+" have been checked as recipients.\\nClick 'OK' to erase all recipients, or 'Cancel'.")) { |
if (confirm("You have indicated that you do not want notification of roster changes messages to be sent, but "+totalnote+" have been checked as recipients.\\nClick 'OK' to erase all recipients, or 'Cancel'.")) { |
checker = 1; |
checker = 1; |
} else { |
} else { |
checker = 0; |
checker = 0; |
} |
} |
} |
} |
} else { |
} else { |
if (formName.notify[0].checked == true) { |
if (formName.notify[0].checked = true) { |
alert("You have indicated that you want notification of roster changes messages to be sent, but you have not selected any recipients."); |
alert("You have indicated that you want notification of roster changes messages to be sent, but you have not selected any recipients."); |
checker = 0; |
checker = 0; |
} |
} |
|
} |
|
} |
} |
} |
} |
if (calling == "viewclass") { |
if (calling == "viewclass") { |