mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
- Added UDF tab in fas
- Added global constant FAS_UDF
This commit is contained in:
@@ -5432,6 +5432,27 @@ function StudentMessagesIFrameLoad()
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Load UDF IFrame
|
||||
// ****
|
||||
function StudentUDFIFrameLoad()
|
||||
{
|
||||
var tree = document.getElementById('student-tree');
|
||||
|
||||
if (tree.currentIndex == -1) return;
|
||||
|
||||
try
|
||||
{
|
||||
//Ausgewaehlte person_id holen
|
||||
var person_id = getTreeCellText(tree, 'student-treecol-person_id', tree.currentIndex);
|
||||
var prestudent_id = getTreeCellText(tree, 'student-treecol-prestudent_id', tree.currentIndex);
|
||||
|
||||
url = 'udf.xul.php?person_id='+person_id+'&prestudent_id='+prestudent_id;
|
||||
document.getElementById('student-udf').setAttribute('src', url);
|
||||
}
|
||||
catch(e) {}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Laedt den Anwesenheit IFrame
|
||||
// ****
|
||||
|
||||
Reference in New Issue
Block a user