commit | e745e85d98ae0bf2b161ff877539eecc9d24cbb4 | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchamp.faris@gmail.com> | Tue Aug 21 19:48:42 2018 +0530 |
committer | Faris Ansari <netchamp.faris@gmail.com> | Tue Aug 21 19:48:42 2018 +0530 |
tree | f685ec0d91eaa4ebc2a8f116b862c7fcfec1aa18 | |
parent | e7af44f1a6857ccb4dbe44955d5ef512b00dce3d [diff] |
feat: route to message room page after contact seller dialog
diff --git a/erpnext/public/js/hub/pages/item.js b/erpnext/public/js/hub/pages/item.js index 421d7ef..9f40971 100644 --- a/erpnext/public/js/hub/pages/item.js +++ b/erpnext/public/js/hub/pages/item.js
@@ -113,7 +113,7 @@ }) .then(() => { d.hide(); - frappe.set_route('marketplace', 'messages'); + frappe.set_route('marketplace', 'buy', this.item.hub_item_code); erpnext.hub.trigger('action:send_message') }); }