Created
February 21, 2017 12:58
-
-
Save wujku/92a7e5f889421ac44587ae3f357e6f47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(this).on('change', '.folder-select', function (event) { | |
var $this = $(this); | |
var selected_mailbox = $this.val(); | |
$('.folder-select').not($this).filter(function( index ) { | |
return $(this).val() === selected_mailbox; | |
}).each(function () { | |
$(this).val(''); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment