I get 2 console errors.
This is my code:
Code: Select all
// ............ Layout ..................
new AppGiniLayout([6])
.add(1, ["department"])
.wrapLabels();
var row_1 = dv.addLayout([6,6])
.add(1, ["#Stammdaten", "personnel_number", "first_name", "last_name", "date_of_birth", "gender", "marital_status", "children"])
.add(2, ["# ", "job_title", "date_started", "termination_date"])
.wrapLabels();
var row_2 = dv.addLayout([6,6])
.add(1, ["#Kontaktdaten", "adress", "zip", "city", "country"])
.add(2, ["# ", "phone", "mobile", "emergency_contact", "email"])
.wrapLabels();
var row_3 = dv.addLayout([12])
.add(1, ["#Notizen", "notes"])
.wrapLabels();
dv.addTab("employee-tab", "Stammdaten", "calendar")
.add(row_1);
dv.addTab("data-tab", "Kontaktdaten", "calendar")
.add(row_2);
dv.addTab("notes-tab", "Notizen", "calendar")
.add(row_3);
dv.getTabs().setPosition(TabPosition.Bottom);
dv.getField("department").insertBelow().hr();
new AppGiniField("department").dropdown().fix("pencil", "plus");
new AppGiniField("date_of_birth").toDatepicker();
new AppGiniField("date_started").toDatepicker();
new AppGiniField("termination_date").toDatepicker();
// ............ Minimum field entries ..................
$j("#first_name").attr("minlength", 3).attr("required", "required");
$j("#last_name").attr("minlength", 3).attr("required", "required");
// ............ Page Title ..................
var title_first_name = new AppGiniField("first_name").getValue(true);
var title_last_name = new AppGiniField("last_name").getValue(true);
dv.setTitle(title_first_name +" "+ title_last_name);
These are the displayed console errors:
AppGiniHelper | DefaultActionButtonContainer not found. / AppGiniHelper.min.js:6:38404
Mutations-Ereignisse sollten nicht mehr verwendet werden. Verwenden Sie MutationObserver stattdessen. / jquery-1.12.4.min.js:3:9646
Can you tell me what i did wrong?
Thank you very much,
Kai