|
|
|
|
@ -87,7 +87,7 @@ export default class extends ApplicationController {
|
|
|
|
|
$.post("/api/doctrines/" + doctrine_id + "/annotations", params, function(result, status) { |
|
|
|
|
if(status === "success") { |
|
|
|
|
$(".btn-close-x").trigger("click") |
|
|
|
|
$this.stimulate("AnnotationReflex#render_annotations_views", { page: 1 }) |
|
|
|
|
$this.stimulate("AnnotationReflex#render_annotations_views", { doctrine_id: doctrine_id, page: 1 }) |
|
|
|
|
$this.stimulate("AnnotationReflex#render_default_case_lists_search", doctrine_id) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|