Fix js null error
This commit is contained in:
parent
b04d4dd867
commit
f79778db40
@ -130,7 +130,10 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption = '', $minLen
|
||||
$("#search_'.$htmlnamejquery.'").val(item.value);
|
||||
$("#'.$htmlnamejquery.'").val(item.key).trigger("change");
|
||||
}
|
||||
var label = item.label.toString();
|
||||
var label = "";
|
||||
if (item.label != null) {
|
||||
label = item.label.toString();
|
||||
}
|
||||
var update = {};
|
||||
if (options.update) {
|
||||
$.each(options.update, function(key, value) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user