Elgg  Version 5.1
Go to the documentation of this file.
1 define(['jquery'], function($) {
2  // prevent email and delayed email from being enabled at the same time
3  $(document).on('change', '.elgg-notifications-settings .elgg-input-checkbox:checked', function() {
4  if ($(this).val() !== 'delayed_email' && $(this).val() !== 'email') {
5  return;
6  }
8  var $methods = $(this).closest('.elgg-field-input');
9  if ($(this).val() === 'delayed_email') {
10  $methods.find('.elgg-input-checkbox[value="email"]').prop('checked', false);
11  } else {
12  $methods.find('.elgg-input-checkbox[value="delayed_email"]').prop('checked', false);
13  }
14  });
15 });
define(['jquery'], function($){$(document).on('change', '.elgg-notifications-settings.elgg-input-checkbox:checked', function(){if($(this).val()!== 'delayed_email'&&$(this).val()!== 'email'){return;}var $methods=$(this).closest('.elgg-field-input');if($(this).val()=== 'delayed_email'){$methods.find('.elgg-input-checkbox[value="email"]').prop('checked', false);}else{$methods.find('.elgg-input-checkbox[value="delayed_email"]').prop('checked', false);}});})
Bundled plugins(the contents of the"/mod"directory) are available only under the GPLv2 license.The remainder of the project is available under either MIT or GPLv2.Both licenses can be found below.More info and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed on
Definition: LICENSE.txt:96
Definition: subscribe.php:8