But 9791: Remove single pixel on datatable tables
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 11 Mar 2013 15:08:12 +0000 (16:08 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 1 Apr 2013 22:20:22 +0000 (18:20 -0400)
5 tables (with datatables) are displayed with a pixel before and after.
List is:
- acqui/acqui-home.tt
- acqui/booksellers.tt
- acqui/neworderbiblio.tt
- acqui/supplier.tt
- members/statistics.tt

Test plan:
Check on the 5 pages that pixels are disappears after applying this
patch.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
members/statistics.tt was already fixed on master.
JavaScript change only, works nicely.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt

index fa6ae53..b029b3f 100644 (file)
@@ -35,6 +35,7 @@ $(document).ready(function() {
             { "sType": "num-html" },
             null,
         ],
+        'sDom': 't',
         'bPaginate': false,
         'bFilter': false,
         'bInfo': false,
index acfa311..ca81812 100644 (file)
@@ -18,6 +18,7 @@ $(document).ready(function() {
         dt_add_type_uk_date();
     [% END %]
     $("table.baskets").dataTable($.extend(true, {}, dataTablesDefaults, {
+        'sDom': 't',
         'bPaginate': false,
         'bFilter': false,
         'bInfo': false,
index b9411ff..f2d9925 100644 (file)
@@ -10,6 +10,7 @@
 //<![CDATA[
  $(document).ready(function() {
     var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
+        'sDom': 't',
         'bPaginate': false,
         'bFilter': false,
         'bInfo': false,
index 51ec129..b5f45b5 100644 (file)
@@ -33,6 +33,7 @@ if (f.company.value == "") {
             { "aTargets": [ 2, 3 ], "sType": "uk_date" },
           [% END %]
         ],
+        'sDom': 't',
         'bPaginate': false,
         'bFilter': false,
         'bInfo': false,