diff --git a/content/notiz.xml.php b/content/notiz.xml.php
index fea620aeb..a98d687b8 100755
--- a/content/notiz.xml.php
+++ b/content/notiz.xml.php
@@ -45,7 +45,7 @@ echo '';
-
+
@@ -60,34 +60,34 @@ echo '';
onselect="document.getBindingParent(this).edit(event);"
flags="dont-build-content" style="min-height: 60px"
>
-
+
';
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/notiz/rdf#endeISO" />
-
+
@@ -138,7 +138,7 @@ echo '';
-
+
@@ -188,7 +188,7 @@ echo '';
@@ -201,7 +201,7 @@ echo '';
-
+
@@ -247,7 +247,7 @@ echo '';
';
} else {
direction = "ascending";
treecol.setAttribute("sortDirection",direction);
- }
+ }
var sortService = Components.classes["@mozilla.org/xul/xul-sort-service;1"].
getService(Components.interfaces.nsIXULSortService);
sortService.sort(tree, treecol.getAttribute('sort'), direction);
@@ -326,9 +326,9 @@ echo '';
var start = document.getAnonymousElementByAttribute(this ,'anonid', 'box-notiz-start').iso;
var ende = document.getAnonymousElementByAttribute(this ,'anonid', 'box-notiz-ende').iso;
var verfasser_uid = document.getAnonymousElementByAttribute(this ,'anonid', 'textbox-notiz-verfasser').value;
-
+
menulist = document.getAnonymousElementByAttribute(this ,'anonid', 'menulist-notiz-bearbeiter');
-
+
//Es kann sein, dass im Eingabefeld nichts steht und
//trotzdem ein Eintrag auf selected gesetzt ist.
//In diesem Fall soll aber kein Wert zurueckgegeben werden
@@ -337,7 +337,7 @@ echo '';
bearbeiter_uid='';
}
else
- {
+ {
//Wenn es Selektierte Eintraege gibt, dann den value zurueckliefern
var children = menulist.getElementsByAttribute('selected','true');
if(children.length>0)
@@ -345,9 +345,9 @@ echo '';
else
bearbeiter_uid = '';
}
-
+
var erledigt = document.getAnonymousElementByAttribute(this ,'anonid', 'checkbox-notiz-erledigt').checked;
-
+
var projekt_kurzbz = this.getAttribute('projekt_kurzbz');
var projektphase_id = this.getAttribute('projektphase_id');
var projekttask_id = this.getAttribute('projekttask_id');
@@ -357,11 +357,11 @@ echo '';
var bestellung_id = this.getAttribute('bestellung_id');
var lehreinheit_id = this.getAttribute('lehreinheit_id');
var anrechnung_id = this.getAttribute('anrechnung_id');
-
+
var soapBody = new SOAPObject("saveNotiz");
//soapBody.appendChild(new SOAPObject("username")).val('joe');
//soapBody.appendChild(new SOAPObject("passwort")).val('waschl');
-
+
var notiz = new SOAPObject("notiz");
notiz.appendChild(new SOAPObject("notiz_id")).val(notiz_id);
notiz.appendChild(new SOAPObject("titel")).cdataval(titel);
@@ -371,7 +371,7 @@ echo '';
notiz.appendChild(new SOAPObject("start")).val(start);
notiz.appendChild(new SOAPObject("ende")).val(ende);
notiz.appendChild(new SOAPObject("erledigt")).val(erledigt);
-
+
notiz.appendChild(new SOAPObject("projekt_kurzbz")).val(projekt_kurzbz);
notiz.appendChild(new SOAPObject("projektphase_id")).val(projektphase_id);
notiz.appendChild(new SOAPObject("projekttask_id")).val(projekttask_id);
@@ -382,11 +382,11 @@ echo '';
notiz.appendChild(new SOAPObject("lehreinheit_id")).val(lehreinheit_id);
notiz.appendChild(new SOAPObject("anrechnung_id")).val(anrechnung_id);
soapBody.appendChild(notiz);
-
+
var sr = new SOAPRequest("saveNotiz",soapBody);
-
+
SOAPClient.Proxy="soap/notiz.soap.php?"+gettimestamp();
-
+
function mycallb(obj) {
var me=obj;
this.invoke=function (respObj) {
@@ -412,11 +412,11 @@ echo '';
me.RefreshNotiz();
}
}
-
+
var cb=new mycallb(this);
-
+
SOAPClient.SendRequest(sr, cb.invoke);
-
+
]]>