Commit a151aad0 authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor javascript and css style of listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d565a56
......@@ -31,11 +31,12 @@
<value> <string encoding="cdata"><![CDATA[
$(document).ready(function(){\n
navigation_html = $("div.listbox-footer div.listbox-page-navigation").html();\n
$("div.listbox-footer div.listbox-page-navigation").remove();\n
navigation_div = "<div class=\'listbox-navigation\'>" + navigation_html + "</div>"\n
$("div.toolbar").append(navigation_div);\n
if ($("div.gadget-column").length == 1) {\n
$("body").css("overflow", "hidden");\n
navigation_html = $("div.listbox-footer div.listbox-page-navigation").html();\n
$("div.listbox-footer div.listbox-page-navigation").remove();\n
navigation_div = "<div class=\'listbox-navigation\'>" + navigation_html + "</div>";\n
$("div.toolbar").append(navigation_div);\n
var tr_length = $("div.main-right tbody tr").length;\n
if (tr_length < 16){\n
var height = tr_length * 1.5;\n
......
......@@ -336,7 +336,7 @@ div.header-right {\n
\n
div.main-left, div.main-right, div.main {\n
margin-top: -0.5em;\n
height:29.7em;;\n
height:45em;\n
}\n
\n
div.main {\n
......@@ -417,10 +417,9 @@ div.main-right div.content {\n
\n
\n
div.main-right tbody {\n
height: 24em;\n
-moz-box-sizing:border-box;\n
overflow-y:scroll;\n
height:25.35em;\n
overflow-x:hidden;\n
overflow-y:auto;\n
}\n
\n
div.header-left {\n
......
89
\ No newline at end of file
90
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment