Avoiding js error in the user_list

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

@ -94,9 +94,11 @@ $(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";
document.getElementById(\'input_extra_text\').value = "";
if (document.getElementById(\'input_extra_text\'))
document.getElementById(\'input_extra_text\').value = "";
} else {
document.getElementById(\'extra_data_text\').style.display="none";
}

Loading…
Cancel
Save