[Rt-commit] rt branch, 4.0/user-group-search-fix, created. rt-4.0.1rc1-5-g3896223
? sunnavy
sunnavy at bestpractical.com
Fri May 27 00:53:09 EDT 2011
The branch, 4.0/user-group-search-fix has been created
at 38962236130108bd333aa6ff782c714fffec496e (commit)
- Log -----------------------------------------------------------------
commit 38962236130108bd333aa6ff782c714fffec496e
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri May 27 12:26:03 2011 +0800
when user selects one, he means '=' instead of 'LIKE'
diff --git a/share/html/Admin/Groups/index.html b/share/html/Admin/Groups/index.html
index 07f50ee..83e2c46 100755
--- a/share/html/Admin/Groups/index.html
+++ b/share/html/Admin/Groups/index.html
@@ -60,7 +60,9 @@
// Auto-submit once a group is chosen
select: function( event, ui ) {
jQuery(event.target).val(ui.item.value);
- jQuery(event.target).closest("form").submit();
+ var form = jQuery(event.target).closest('form');
+ form.find('input[name=GroupOp]').val('=');
+ form.submit();
}
});
</script>
diff --git a/share/html/Admin/Users/index.html b/share/html/Admin/Users/index.html
index c0272ab..2f20661 100755
--- a/share/html/Admin/Users/index.html
+++ b/share/html/Admin/Users/index.html
@@ -65,7 +65,9 @@
// Auto-submit once a user is chosen
select: function( event, ui ) {
jQuery(event.target).val(ui.item.value);
- jQuery(event.target).closest("form").submit();
+ var form = jQuery(event.target).closest('form');
+ form.find('input[name=GroupOp]').val('=');
+ form.submit();
}
});
</script>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list