[Web] Add feature for null mail
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
$(document).ready(function() {
|
||||
if ($("#goto_null").is(":checked")) {
|
||||
$('#textarea_alias_goto').prop('disabled', true);
|
||||
}
|
||||
$("#goto_null").click(function( event ) {
|
||||
if ($("#goto_null").is(":checked")) {
|
||||
$('#textarea_alias_goto').prop('disabled', true);
|
||||
}
|
||||
else {
|
||||
$("#textarea_alias_goto").removeAttr('disabled');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
jQuery(function($){
|
||||
// http://stackoverflow.com/questions/46155/validate-email-address-in-javascript
|
||||
function validateEmail(email) {
|
||||
|
Reference in New Issue
Block a user