mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 17:33:09 +00:00
fix(minor): update routes
This commit is contained in:
@@ -184,7 +184,7 @@ frappe.ui.form.on("Issue", {
|
||||
let url = window.location.href
|
||||
let arr = url.split("/");
|
||||
let result = arr[0] + "//" + arr[2]
|
||||
frappe.msgprint(`New issue created: <a href="${result}/desk#Form/Issue/${r.message}">${r.message}</a>`)
|
||||
frappe.msgprint(`New issue created: <a href="${result}//desk/Form/Issue/${r.message}">${r.message}</a>`)
|
||||
frm.reload_doc();
|
||||
dialog.hide();
|
||||
});
|
||||
|
||||
@@ -207,7 +207,7 @@ class Issue(Document):
|
||||
"comment_type": "Info",
|
||||
"reference_doctype": "Issue",
|
||||
"reference_name": replicated_issue.name,
|
||||
"content": " - Split the Issue from <a href='#Form/Issue/{0}'>{1}</a>".format(self.name, frappe.bold(self.name)),
|
||||
"content": " - Split the Issue from <a href='/app/Form/Issue/{0}'>{1}</a>".format(self.name, frappe.bold(self.name)),
|
||||
}).insert(ignore_permissions=True)
|
||||
|
||||
return replicated_issue.name
|
||||
|
||||
Reference in New Issue
Block a user