Avoiding js error in the user_list

skala
Julio Montoya 14 years ago
parent 4534259a75
commit 15fb41f74a
  1. 2
      main/admin/user_list.php

@ -94,8 +94,10 @@ $(document).ready(function() {
var select_val = $("#input_select_extra_data").val();
if ( document.getElementById(\'extra_data_text\')) {
if (select_val != 0) {
document.getElementById(\'extra_data_text\').style.display="block";
if (document.getElementById(\'input_extra_text\'))
document.getElementById(\'input_extra_text\').value = "";
} else {
document.getElementById(\'extra_data_text\').style.display="none";

Loading…
Cancel
Save