Hi Rodrigo, Il 31/10/2016 19:20, Rodrigo Santellan ha scritto:
For what I see the code that I put on |IntranetUserJS will be used on every intranet page. Is there a way to use it only in a sigle page?
You can start your JS with code that select a specific page: See:https://wiki.koha-community.org/wiki/JQuery_Library#Change_default_encoding_to_MARC-8 All code is inside: if (window.location.href.indexOf("tools/stage-marc-import.pl") > -1) { [...] } So in fact it work only in page "tools/stage-marc-import.pl" Bye Zeno Tajoli -- Zeno Tajoli /SVILUPPO PRODOTTI CINECA/ - Automazione Biblioteche Email: [email protected] Fax: 051/6132198 *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI) _______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
