Add invoice dom sanity check before print

This commit is contained in:
jekkos-t520
2015-02-20 09:25:31 +01:00
parent 378d45691b
commit 9856f0bc65

View File

@@ -5,7 +5,7 @@
$(window).load(function()
{
// receipt layout sanity check
if ( $("#receipt_items").length > 0)
if ( $("#receipt_items, #items").length > 0)
{
// install firefox addon in order to use this plugin
if (window.jsPrintSetup)