Suraj Shetty
4 år sedan
committed by
GitHub
förälder
incheckning
da121994b0
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med
2 tillägg och
1 borttagningar
-
frappe/www/printview.py
|
|
@@ -505,8 +505,9 @@ window.print(); |
|
|
|
|
|
|
|
// close the window after print |
|
|
|
// NOTE: doesn't close if print is cancelled in Chrome |
|
|
|
// Changed timeout to 5s from 1s because it blocked mobile view rendering |
|
|
|
setTimeout(function() { |
|
|
|
window.close(); |
|
|
|
}, 1000); |
|
|
|
}, 5000); |
|
|
|
</script> |
|
|
|
""" |