Merge pull request #10448 from joelios/selfpostback

improvement for self-postbacks
This commit is contained in:
Faris Ansari 2017-08-29 14:05:13 +05:30 committed by GitHub
commit b9939a6449

View File

@ -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;
}