Trigger change and unbind after selecting in file browser

This commit is contained in:
JonnyWong16 2020-07-16 19:05:18 -07:00
commit ec34ea2116
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 6 additions and 5 deletions

View file

@ -2033,7 +2033,8 @@ Rating: {rating}/10 --> Rating: /10
$("#select-browse-file").click(function () {
$("#browse-path-modal").modal('hide');
$("#" + select_target).val($("#browse-path").val());
$(select_target).val($("#browse-path").val()).change();
$(this).unbind('click');
});
browsePath(key, path, filter_ext);