OK, let me summarize, and please verify my assumptions:
(1) you include AppGiniHelper.min.js in hooks/header-extras.php
(2) there is only one (1) initialization of new
AppGiniDetailView() which means:
(2a) there is no initialization of new
AppGiniDetailView() in header-extras.php
(2b) there is no initialization of new
AppGiniDetailView() in footer-extras.php (???)
(2c) there is no initialization of new
AppGiniDetailView() in TABLENAME
-tv.js (???)
(2d) the only
new AppGiniDetailView() is in TABLENAME
-dv.js and it occurs only once
(3) this is your script hooks/Todo-dv.js
Code: Select all
var dv = new AppGiniDetailView();
new AppGiniLayout([6,6])
.add(1, ["employee", "title", "priority"])
.add(2, ["start_date", "end_date", "follow_up", "done_date", "quality"])
.wrapLabels();
$j.ajax("ajax_check_login.php");
new AppGiniLayout([12])
.add(1, ["notes"])
.wrapLabels();
$j.ajax("ajax_check_login.php");
(4) your table name is
Todo (with capital "T" and lower case "odo")
(5) the two-colum layout works in standard detail view
(6) two-colum layout does
not work in modal (embedded) detail view when opened from a standard children tabs of a parent record's detail view
(7) there are no additional scripts or styles which could interfere with
Did I get you right?
Regards,
Jan