mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Update item_dashboard.js
This commit is contained in:
@@ -21,7 +21,7 @@ erpnext.stock.ItemDashboard = Class.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.content.on('click', '.btn-add', function() {
|
this.content.on('click', '.btn-add', function() {
|
||||||
handle_move_add($(this), "Move")
|
handle_move_add($(this), "Add")
|
||||||
});
|
});
|
||||||
|
|
||||||
function handle_move_add(element, action) {
|
function handle_move_add(element, action) {
|
||||||
@@ -225,4 +225,4 @@ erpnext.stock.move_item = function(item, source, target, actual_qty, rate, callb
|
|||||||
frappe.set_route('Form', doc.doctype, doc.name);
|
frappe.set_route('Form', doc.doctype, doc.name);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user