app/assets/javascripts/social_stream/contact.js in social_stream-base-2.0.1 vs app/assets/javascripts/social_stream/contact.js in social_stream-base-2.0.2
- old
+ new
@@ -114,19 +114,17 @@
} else {
$(form).attr('data-status', 'changed');
}
};
- // Dictate if some form has changed its status
var getInputValues = function(form) {
return $('ul.dropdown-menu input[type="checkbox"]', form).
map(function() {
if ($(this).is(':checked'))
return $(this).val();
- });
+ });
};
- // Dictate if some form has changed its status
var setInputValues = function(form) {
return $('ul.dropdown-menu input[type="checkbox"]', form).
map(function() {
if ($(this).is(':checked'))
return $(this).val();