summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09cd8fc)
raw | patch | inline | side by side (parent: 09cd8fc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 09:15:43 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 09:15:43 +0000 (09:15 +0000) |
-Reload was broken.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10979 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10979 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_goto_import_file.inc | patch | blob | history | |
gosa-plugins/goto/addons/goto/gotomasses.tpl | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_goto_import_file.inc b/gosa-plugins/goto/addons/goto/class_goto_import_file.inc
index 45f164fe2369f029f2c452d7ffb6af2da644fca8..0333ddcd920e85734b8ed4143125314b594c084c 100644 (file)
$object = new $class($this->config);
$object->set_type(TRIGGERED_EVENT);
$object->add_targets(array($event['MAC']));
+
+ /* Update values like fqdn a.s.o
+ */
+ foreach($this->csv_fields as $name){
+ $object->set_value($name,$event[$name]);
+ }
+
if(!$this->parent->o_queue->append($object)){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($this->parent->o_queue->get_error()),ERROR_DIALOG);
$fail ++;
diff --git a/gosa-plugins/goto/addons/goto/gotomasses.tpl b/gosa-plugins/goto/addons/goto/gotomasses.tpl
index 85a29495db0e294591c933fb2c8c441a77f518ae..97b3eff012ff91b797af218141eb00fb728f3e10 100644 (file)
This means it was removed from the queue.
*/
if(!found){
- document.location.reload();
+ document.mainform.submit();
}
}
timer=setTimeout('loadContent()',3000);