forked from extern/egroupware
Fix selected scheduled definition not getting saved
This commit is contained in:
parent
e77b9c983f
commit
7b668c306d
@ -258,6 +258,8 @@
|
|||||||
} else {
|
} else {
|
||||||
$response->addScript("xajax_doXMLHTTP('importexport.importexport_schedule_ui.ajax_get_definitions', '$appname', document.getElementById('exec[plugin]').value);");
|
$response->addScript("xajax_doXMLHTTP('importexport.importexport_schedule_ui.ajax_get_definitions', '$appname', document.getElementById('exec[plugin]').value);");
|
||||||
}
|
}
|
||||||
|
// Trigger chosen
|
||||||
|
$response->addScript("\$j(document.getElementById('exec[plugin]')).trigger('liszt:updated');");
|
||||||
|
|
||||||
return $response->getXML();
|
return $response->getXML();
|
||||||
}
|
}
|
||||||
@ -284,6 +286,8 @@
|
|||||||
} else {
|
} else {
|
||||||
$response->addScript("document.getElementById('exec[definition]').value = ''");
|
$response->addScript("document.getElementById('exec[definition]').value = ''");
|
||||||
}
|
}
|
||||||
|
// Trigger chosen
|
||||||
|
$response->addScript("\$j(document.getElementById('exec[definition]')).trigger('liszt:updated');");
|
||||||
return $response->getXML();
|
return $response->getXML();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user