Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
code-geek committed Jun 16, 2023
1 parent 477dfef commit b893f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sde_indexing_helper/static/js/candidate_url_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function postVisited(url) {

function deletePattern(url, data_type, url_type=null, candidate_urls_count=null) {
if (url_type === MULTI_URL_PATTERN) {
var confirmDelete = confirm(`YOU ARE ATTEMPTING TO DELETE A MULTI-URL PATTERN. THIS WILL DELETE ${candidate_urls_count} TITLE PATTERNS. Are you sure you want to do this? Currently there is no way to delete a single URL from a Multi-URL pattern`);
var confirmDelete = confirm(`YOU ARE ATTEMPTING TO DELETE A MULTI-URL PATTERN. THIS WILL AFFECT ${candidate_urls_count} URLs. \n\nAre you sure you want to do this? Currently there is no way to delete a single URL from a Multi-URL pattern`);
} else {
var confirmDelete = confirm(`Are you sure you want to delete this ${data_type}?`);
}
Expand Down

0 comments on commit b893f0f

Please sign in to comment.