mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
Merge pull request #10448 from joelios/selfpostback
improvement for self-postbacks
This commit is contained in:
@@ -73,7 +73,7 @@ frappe.ready(function() {
|
||||
}
|
||||
}
|
||||
|
||||
if (window.location.search.indexOf(item_code)!==-1) {
|
||||
if (window.location.search == ("?variant=" + item_code) || window.location.search.includes(item_code)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user