Use openDialog to make go_print workaround vanish
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 11 Aug 2011 01:03:46 +0000 (21:03 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 11 Aug 2011 11:11:21 +0000 (07:11 -0400)
commitcefc884717b4c06bc2ae767be2b391cd843833d0
treea5d6454337c97d9d08e7512573af665f1f75e135
parent60b88593addc26cd793841e243e407df1a34495b
Use openDialog to make go_print workaround vanish

By passing params and the go_print function into openDialog we get
to ignore race conditions, as the window is created with the passed
in arguments.

Oh, and we can stop using js2JSON and such.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/xul/staff_client/chrome/content/util/print.js