|
|
@ -143,13 +143,16 @@ function setupInterface(data, file, urls) {
|
|
|
|
let img_url = urls[data.data[nRow]['url_id']];
|
|
|
|
let img_url = urls[data.data[nRow]['url_id']];
|
|
|
|
|
|
|
|
|
|
|
|
if (img_url == "http://empty")
|
|
|
|
if (img_url == "http://empty")
|
|
|
|
return
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
let raw_left = parseInt(data.data[nRow]['left']);
|
|
|
|
let raw_left = parseInt(data.data[nRow]['left']);
|
|
|
|
let raw_right = parseInt(data.data[nRow]['right']);
|
|
|
|
let raw_right = parseInt(data.data[nRow]['right']);
|
|
|
|
let raw_top = parseInt(data.data[nRow]['top']);
|
|
|
|
let raw_top = parseInt(data.data[nRow]['top']);
|
|
|
|
let raw_bottom = parseInt(data.data[nRow]['bottom']);
|
|
|
|
let raw_bottom = parseInt(data.data[nRow]['bottom']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isNaN(raw_left) || isNaN(raw_right) || isNaN(raw_top) || isNaN(raw_bottom))
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
let left = raw_left;
|
|
|
|
let left = raw_left;
|
|
|
|
let right = raw_right;
|
|
|
|
let right = raw_right;
|
|
|
|
let top = raw_top;
|
|
|
|
let top = raw_top;
|
|
|
|