fix edit rubric button. fixes #10479
on the show rubric page, when a user edited a rubric, saved it, and then clicked the edit rubric button again, it wasn't opening the edit form. test plan: * from course outcomes page, click 'manage rubrics' button; * create a new rubric; * click the 'edit rubric' button and then click the 'update rubric' button; * without refreshing the page, click 'edit rubric' again and verify that the edit form displays as expected. Change-Id: If65785f09f1a0f5034d67b503597bc674d79f2d5 Reviewed-on: https://gerrit.instructure.com/13688 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Ryan Florence <ryanf@instructure.com>
This commit is contained in:
parent
64dd2248e8
commit
7e496120b9
|
@ -351,6 +351,7 @@ define([
|
|||
});
|
||||
$rubric.fillFormData(rubric);
|
||||
var url = $.replaceTags($rubric.find(".edit_rubric_url").attr('href'), 'rubric_id', rubric.id);
|
||||
rubricEditing.isEditing = false;
|
||||
$rubric.find(".edit_rubric_link").attr('href', url);
|
||||
var url = $.replaceTags($rubric.find(".delete_rubric_url").attr('href'), 'association_id', rubric.rubric_association_id);
|
||||
$rubric.find(".delete_rubric_link").attr('href', url);
|
||||
|
|
Loading…
Reference in New Issue