removed event

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 21b634e03f
commit 8544531a79

@ -36,13 +36,11 @@ define('forum/groups/list', function() {
$('#search-sort').on('change', Groups.search); $('#search-sort').on('change', Groups.search);
}; };
Groups.search = function(event) { Groups.search = function() {
var groupsEl = $('#groups-list'), var groupsEl = $('#groups-list'),
queryEl = $('#search-text'), queryEl = $('#search-text'),
sortEl = $('#search-sort'); sortEl = $('#search-sort');
event.preventDefault();
socket.emit('groups.search', { socket.emit('groups.search', {
query: queryEl.val(), query: queryEl.val(),
options: { options: {

Loading…
Cancel
Save