Notiz nur dann editieren wenn ein Eintrag markiert wurde

This commit is contained in:
Andreas Österreicher
2011-10-04 08:07:30 +00:00
parent 4bf498b2c9
commit 6b65726e7b
+14 -1
View File
@@ -55,7 +55,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
<xul:tree anonid="tree-notiz"
seltype="single" hidecolumnpicker="false" flex="1"
datasources="rdf:null" ref="http://www.technikum-wien.at/notiz/liste"
ondblclick="document.getBindingParent(this).openNotiz(document.getBindingParent(this).value);"
ondblclick="document.getBindingParent(this).edit(event);"
onclick="document.getBindingParent(this).updateErledigt(event);"
editable="true"
>
@@ -214,6 +214,19 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
]]>
</body>
</method>
<method name="edit">
<parameter name="event"/>
<body>
<![CDATA[
var id = this.value;
if(id!='')
{
this.openNotiz(id);
}
]]>
</body>
</method>
<method name="LoadNotizTree">
<parameter name="projekt_kurzbz"/>
<parameter name="projektphase_id"/>