fix: Form Dashboard reference link (backport #12945) (#12947)

(cherry picked from commit 4d552c241f)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
mergify[bot] 2021-04-22 00:40:46 +05:30 committed by GitHub
parent 9dc4cac495
commit 8080f5b75b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ frappe.ui.form.Dashboard = class FormDashboard {
// bind links
transactions_area_body.find(".badge-link").on('click', function() {
me.open_document_list($(this).parent());
me.open_document_list($(this).closest('.document-link'));
});
// bind reports