aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-31 15:56:43 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-31 15:56:43 +0000
commit1ad49aaf2f1cb23a81909576437997fffa3951d2 (patch)
tree6156d26c46dea52993708fed082c9c0dbdf37b07 /views
parent4ab77c0ef0557d26781cbd3f534aeedd905d8637 (diff)
downloadelgg-1ad49aaf2f1cb23a81909576437997fffa3951d2.tar.gz
elgg-1ad49aaf2f1cb23a81909576437997fffa3951d2.tar.bz2
More updates for collections - save now works properly.
git-svn-id: https://code.elgg.org/elgg/trunk@1637 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/friends/picker.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index d813e6fe7..2f51a02d7 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -102,7 +102,9 @@
$('#collectionMembersForm<?php echo $friendspicker; ?>').submit(function() {
var inputs = [];
$(':input', this).each(function() {
- inputs.push(this.name + '=' + escape(this.value));
+ if (this.type != 'checkbox' || (this.type == 'checkbox' && this.checked != false)) {
+ inputs.push(this.name + '=' + escape(this.value));
+ }
});
jQuery.ajax({
type: "POST",