mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
Notiz nur dann editieren wenn ein Eintrag markiert wurde
This commit is contained in:
+14
-1
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user