]> git.koha-community.org Git - koha.git/commit
A follow-up will be added though, because we understood why I had some javascript...
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 19 Sep 2012 15:02:14 +0000 (17:02 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 19 Sep 2012 15:02:14 +0000 (17:02 +0200)
commit2f8308cd492f1c0283a8b226148ae20c36e82e24
treeb5ca708cca1a26b76113a7354ca0101a2f918697
parentd3fcc8b973090e522b284bc8b70eaf84b607bddd
A follow-up will be added though, because we understood why I had some javascript error and jonathan didn't. It's because I've plack + debug
Bug 8117 follow-up: explicitely list tables to dataTable

debug panel in plack adds a lot of <table> (without any id)
thus, when you call
$("table").dataTable(...)
there's a javacscript error because datatable can't handle the plack <table> !

The solution has been to explicitely name the tables to dataTable (which is a good thing anyway)
        $("#activeperiodst,#inactiveperiodst").dataTable($.extend(true, {}, dataTablesDefaults, {
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt