mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
handle both cases
This commit is contained in:
@@ -73,7 +73,7 @@ frappe.ready(function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.search == ("?variant=" + item_code)) {
|
if (window.location.search == ("?variant=" + item_code) || window.location.search.includes(item_code)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user