Zeile 6 | Zeile 6 |
---|
{ this.error_unknown = error_unknown;
|
{ this.error_unknown = error_unknown;
|
$('#settings_search').bind("submit", this.onSubmit);
| $('#settings_search').on("submit", this.onSubmit);
|
$('#search_results').css('display', 'none'); $('#search').focusin(function() {
| $('#search_results').css('display', 'none'); $('#search').focusin(function() {
|
Zeile 43 | Zeile 43 |
---|
{ try {
|
{ try {
|
var json = $.parseJSON(request.responseText);
| var json = JSON.parse(request.responseText);
|
if(typeof json == 'object') { if(json.hasOwnProperty("errors"))
| if(typeof json == 'object') { if(json.hasOwnProperty("errors"))
|
Zeile 63 | Zeile 63 |
---|
$('#search_results').css('display', ''); $('#group_list').css('display', 'none'); $('#search_results').html(request.responseText);
|
$('#search_results').css('display', ''); $('#group_list').css('display', 'none'); $('#search_results').html(request.responseText);
|
loadPeekers();
| |
$.jGrowl(lang.search_done, {theme:'jgrowl_success'}); return false; }
| $.jGrowl(lang.search_done, {theme:'jgrowl_success'}); return false; }
|