projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a1cff66
)
inject our javascript in Koha intranetuserjs system preference
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 20:21:14 +0000
(22:21 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 20:21:14 +0000
(22:21 +0200)
examples/koha-rfid.js
patch
|
blob
|
history
diff --git
a/examples/koha-rfid.js
b/examples/koha-rfid.js
index
dd9b470
..
1199055
100644
(file)
--- a/
examples/koha-rfid.js
+++ b/
examples/koha-rfid.js
@@
-9,6
+9,21
@@
*
* to provide overlay for tags in range and emulate form fill for Koha Library System
* which allows check-in and checkout-operations without touching html interface
*
* to provide overlay for tags in range and emulate form fill for Koha Library System
* which allows check-in and checkout-operations without touching html interface
+ *
+ * You will have to inject remote javascript in Koha intranetuserjs using:
+
+
+<!-- this is basically remote script injection, doesn't work in Chrome with SSL -->
+//]]></script>
+
+<!-- invoke local RFID javascript -->
+<script type="text/javascript"
+src="http://localhost:9000/examples/koha-rfid.js"
+>
+
+<script type="text/javascript">
+//<![CDATA[
+
*/
function barcode_on_screen(barcode) {
*/
function barcode_on_screen(barcode) {