https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19329
Josef Moravec <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |ASSIGNED --- Comment #3 from Josef Moravec <[email protected]> --- (In reply to Owen Leonard from comment #2) > The manual refers to the wiki, which includes this instruction: > > "Important: The script must implement the function $( window > ).load(function() > because it replaces the original function)." > > The example on that wiki page includes a try-catch example which includes > "window.print()" and "window.close()." > > Isn't this patch going to create conflicts for libraries with existing > IntranetSlipPrinterJS setups? In that case, yes it would be conflict. Then we need to document it better in UI, because the text by the system preference '' says: 'Use the following JavaScript for printing slips. Define at least function printThenClose().' Which is what does not work. I will rework the patch to just change this sentence. Thanks Owen. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
