forked from Wavyzz/dolibarr
Merge remote-tracking branch 'origin/3.4' into 3.5
Conflicts: htdocs/core/lib/agenda.lib.php htdocs/product/stats/commande_fournisseur.php
This commit is contained in:
@@ -146,11 +146,7 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption='', $minLengt
|
||||
}
|
||||
// Update an input
|
||||
if (ui.item.update) {
|
||||
// clear old data before update
|
||||
$.each(ui.item.update, function(key, value) {
|
||||
$("#" + key).val("");
|
||||
});
|
||||
// update fields
|
||||
// loop on each "update" fields
|
||||
$.each(ui.item.update, function(key, value) {
|
||||
$("#" + key).val(value).trigger("change");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user