Commit c7b7a6bb authored by Armand Bour's avatar Armand Bour Committed by Mikaël Salson
Browse files

Fix direct reference to CSS id

parent e50df954
......@@ -349,19 +349,19 @@ List.prototype = {
* */
resize: function () {
//hardcore resize (for firefox and ...)
//seriously 7 years after the first release of the html5 specs there is no simple way (except with chrome) to put a scrollbar inside a table-cell
document.getElementById("list_data").style.height = ""
document.getElementById("list_clones").style.height = "0px"
var data = document.getElementById("data-row").offsetHeight
//seriously 7 years after the first release of the html5 specs there is no simple way (except with chrome) to put a scrollbar inside a table-cell
document.getElementById("list_data").style.height = "";
document.getElementById("list_clones").style.height = "0px";
var data = document.getElementById(this.id_data).parentNode.offsetHeight;
if (data>100)data = 100
document.getElementById("list_data").style.height = data+"px"
var menu = document.getElementById("list_menu").offsetHeight
var list = $("#list-row").innerHeight()
document.getElementById("list_clones").style.height = (list-menu)+"px"
document.getElementById("list_data").style.height = data+"px";
var menu = document.getElementById("list_menu").offsetHeight;
var list = $("#" + this.id).parent().innerHeight();
document.getElementById("list_clones").style.height = (list-menu)+"px";
},
/**
......
Supports Markdown
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