Fix #3626: Artist creation page doesn't autocomplete the name anymore.
This commit is contained in:
@@ -125,9 +125,11 @@
|
||||
|
||||
if (data.artists.length === 0) {
|
||||
var new_artist_params = $.param({
|
||||
name: data.unique_id,
|
||||
other_names: data.artist_name,
|
||||
urls: $.unique([data.profile_url, data.normalized_for_artist_finder_url]).join("\n")
|
||||
artist: {
|
||||
name: data.unique_id,
|
||||
other_names: data.artist_name,
|
||||
url_string: $.unique([data.profile_url, data.normalized_for_artist_finder_url]).join("\n")
|
||||
}
|
||||
});
|
||||
|
||||
var link = $("<a>").attr("href", "/artists/new?" + new_artist_params).text("Create new artist");
|
||||
|
||||
Reference in New Issue
Block a user