[open-ils-commits] [GIT] Evergreen ILS branch master updated. ba6a9a95d186c37e41b4a129ed14e68101710177
Evergreen Git
git at git.evergreen-ils.org
Thu Sep 18 20:03:05 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via ba6a9a95d186c37e41b4a129ed14e68101710177 (commit)
from 4dd61e04d95752acda26bb05ef826c9711820559 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ba6a9a95d186c37e41b4a129ed14e68101710177
Author: Steven Chan <schan at sitka.bclibraries.ca>
Date: Mon Jul 29 16:27:13 2013 -0700
Fix LP904860, Cannot print a patron address label
The sequence of events for printing an address label is as follows.
Staff client Code in the util/print.js file builds an HTML page of the
address label. The page includes two vital components, 1) a source tag
to pull 'print_win.js' file from the server, and 2) an onload event
handler bound to the body tag to execute a 'print_init()' function that
is defined in the source tag.
However, print_init() is undefined because the source tag contains a
badly formed URL. It needs to be prefixed by 'oils://remote' so that the
new 'oils:' protocol can be used to pull the file remotely from the
server.
Signed-off-by: Steven Chan <schan at sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/xul/staff_client/chrome/content/util/print.js b/Open-ILS/xul/staff_client/chrome/content/util/print.js
index 21d3d8f..e66e81d 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/print.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/print.js
@@ -167,7 +167,7 @@ util.print.prototype = {
if(!params.type) {
params.type = '';
}
- var my_prefix = '/xul/server/';
+ var my_prefix = 'oils://remote/xul/server/';
if(window.location.protocol == "chrome:") {
// Likely in offline interface
my_prefix = 'chrome://open_ils_staff_client/content/';
-----------------------------------------------------------------------
Summary of changes:
.../xul/staff_client/chrome/content/util/print.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list