[svn r20711] minor - logic changes - allow hide combobox -(partial FS#3909)

skala
Isaac Flores 16 years ago
parent 9ba2e04330
commit b4ec7d0dbe
  1. 6
      main/social/index.php

@ -319,9 +319,11 @@ function send_request_and_search() {
if (num_records.length==1) { if (num_records.length==1) {
$("#id_div_search").html(""); $("#id_div_search").html("");
return false; return false;
} else {
$("#id_div_search").html(datos)
list_search_hide();
} }
$("#id_div_search").html(datos)
$("#id_search_name").bind("click", function() { $("#id_search_name").bind("click", function() {
name_option=$("select#id_search_name option:selected").text(); name_option=$("select#id_search_name option:selected").text();
code_option=$("select#id_search_name option:selected").val(); code_option=$("select#id_search_name option:selected").val();
@ -396,7 +398,7 @@ function delete_one_message_outbox (num_id) {
}); });
} }
function list_search_hide () { function list_search_hide () {
setTimeout("hide_search_list()",1500); setTimeout("hide_search_list()",2000);
} }
function hide_search_list () { function hide_search_list () {
$("div#id_div_search").html(""); $("div#id_div_search").html("");

Loading…
Cancel
Save