X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Fservice.infodrom.org;a=blobdiff_plain;f=src%2FInfoCon%2Fstempel%2Fstatus.wml;h=0da5bd83588ed5a7a9ae536420b0c23ad892bda4;hp=d52c94d1afafc09c03e0b83746810904d3de064c;hb=a3e5ae149d94ca1ace8eeab51ee7d6fe7dde01cc;hpb=50019920e380e7acf33b7483a38ad9c962236fd2
diff --git a/src/InfoCon/stempel/status.wml b/src/InfoCon/stempel/status.wml
index d52c94d..0da5bd8 100644
--- a/src/InfoCon/stempel/status.wml
+++ b/src/InfoCon/stempel/status.wml
@@ -264,9 +264,7 @@ function edit_task(obj)
task_oid = obj.parentNode.children[0].children[0].value;
var input = $('');
-
input.val(obj.innerHTML.replace('>', '>').replace('<', '<').replace('&', '&'));
-
input.css('fontSize', '100%').css('width', '100%').css('background', 'yellow');
obj.innerHTML = '';
$(obj).append(input);
@@ -279,7 +277,7 @@ function edit_task_save()
if (!task_parent) return;
if (task_parent.children[0].value != task_title)
- ajax_request('save','oid='+task_oid+'&task='+encodeURIComponent(task_parent.children[0].value));
+ $.invoke('Sales/Text', {id: task_oid, text: task_parent.children[0].value});
task_parent.innerHTML = task_parent.children[0].value;
task_parent = null;