diff --git a/content/notiz.window.js.php b/content/notiz.window.js.php index 39ef4ecf2..502a4b32d 100755 --- a/content/notiz.window.js.php +++ b/content/notiz.window.js.php @@ -46,15 +46,24 @@ function NotizInit(id) //RDF parsen titel = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#titel" )); + text = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#text" )); + start = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#start" )); + ende = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#ende" )); } else { //Defaultwerte bei Neuem Datensatz titel=''; + text=''; + start=''; + ende=''; } document.getElementById('notiz-textbox-titel').value=titel; + document.getElementById('notiz-textbox-text').value=text; + document.getElementById('notiz-box-start').value=start; + document.getElementById('notiz-box-ende').value=ende; } // **** diff --git a/content/notiz.window.xul.php b/content/notiz.window.xul.php index 1605ead41..009563f80 100755 --- a/content/notiz.window.xul.php +++ b/content/notiz.window.xul.php @@ -31,7 +31,8 @@ echo ''."\n"; echo ''; echo ''; - +echo ''; + if(isset($_GET['id']) && is_numeric($_GET['id'])) $id=$_GET['id']; else @@ -63,6 +64,18 @@ else