mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
[website] [minor] moving to framework
This commit is contained in:
@@ -36,7 +36,7 @@ $(document).ready(function() {
|
||||
})
|
||||
|
||||
$("#item-add-to-cart button").on("click", function() {
|
||||
wn.cart.update_cart({
|
||||
erpnext.cart.update_cart({
|
||||
item_code: item_code,
|
||||
qty: 1,
|
||||
callback: function(r) {
|
||||
@@ -50,7 +50,7 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$("#item-update-cart button").on("click", function() {
|
||||
wn.cart.update_cart({
|
||||
erpnext.cart.update_cart({
|
||||
item_code: item_code,
|
||||
qty: $("#item-update-cart input").val(),
|
||||
btn: this,
|
||||
|
||||
Reference in New Issue
Block a user