From 67c338fd51f46ef263c3ab9cb0ba49854f32e8a5 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 25 Jan 2019 15:17:44 +0530 Subject: [PATCH] [fix] Fixed links Previous commit missed the links starting with `http://` --- erpnext/public/js/help_links.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/public/js/help_links.js b/erpnext/public/js/help_links.js index 458276eceb..17b726ee18 100644 --- a/erpnext/public/js/help_links.js +++ b/erpnext/public/js/help_links.js @@ -254,7 +254,7 @@ frappe.help.help_links['List/Company'] = [ //Accounts frappe.help.help_links['modules/Accounts'] = [ - { label: 'Introduction to Accounts', url: 'http://erpnext.com/docs/user/manual/en/accounts/' }, + { label: 'Introduction to Accounts', url: docsUrl + 'user/manual/en/accounts/' }, { label: 'Chart of Accounts', url: docsUrl + 'user/manual/en/accounts/chart-of-accounts.html' }, { label: 'Multi Currency Accounting', url: docsUrl + 'user/manual/en/accounts/multi-currency-accounting' }, ] @@ -319,7 +319,7 @@ frappe.help.help_links['Tree/Cost Center'] = [ ] frappe.help.help_links['List/Item'] = [ - { label: 'Item', url: 'http://erpnext.com/docs/user/manual/en/stock/item' }, + { label: 'Item', url: docsUrl + 'user/manual/en/stock/item' }, { label: 'Item Price', url: docsUrl + 'user/manual/en/stock/item/item-price' }, { label: 'Barcode', url: docsUrl + 'user/manual/en/stock/articles/track-items-using-barcode' }, { label: 'Item Wise Taxation', url: docsUrl + 'user/manual/en/accounts/item-wise-taxation' }, @@ -330,7 +330,7 @@ frappe.help.help_links['List/Item'] = [ ] frappe.help.help_links['Form/Item'] = [ - { label: 'Item', url: 'http://erpnext.com/docs/user/manual/en/stock/item' }, + { label: 'Item', url: docsUrl + 'user/manual/en/stock/item' }, { label: 'Item Price', url: docsUrl + 'user/manual/en/stock/item/item-price' }, { label: 'Barcode', url: docsUrl + 'user/manual/en/stock/articles/track-items-using-barcode' }, { label: 'Item Wise Taxation', url: docsUrl + 'user/manual/en/accounts/item-wise-taxation' }, @@ -523,4 +523,4 @@ frappe.help.help_links['Form/Custom Field'] = [ frappe.help.help_links['Form/Custom Field'] = [ { label: 'Custom Field', url: docsUrl + 'user/manual/en/customize-erpnext/custom-field' }, -] \ No newline at end of file +]