Skip to content

Commit 4441a09

Browse files
committed
Update _curator_script.html.erb
1 parent 5b44dd6 commit 4441a09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/checks/_curator_script.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
$('.curator-checklist .check-links a[data-do]').on("click",
33
function() {
44
var data = $(this).data();
5-
var pattern = "<%= check_path('{name}', format: :json) %>";
6-
var path = pattern.replace('{name}', data["name"]);
5+
var pattern = "<%= check_path('--name--', format: :json) %>";
6+
var path = pattern.replace('--name--', data["name"]);
77
var dt = $(this).parent().parent();
88
dt.addClass("bg-warning");
99

0 commit comments

Comments
 (0)