diff --git a/calendar/inc/class.calendar_ui.inc.php b/calendar/inc/class.calendar_ui.inc.php
index d4ac584a62..e4ccdc66ff 100644
--- a/calendar/inc/class.calendar_ui.inc.php
+++ b/calendar/inc/class.calendar_ui.inc.php
@@ -784,7 +784,17 @@ function load_cal(url,id) {
}
if($options != '') {
$options = '\n" . $options;
- $file[] = $this->_select_box('merge document...','merge',$options,$baseurl ? $baseurl.'&merge=' : '');
+ $name = 'merge';
+ $onchange="var win=egw_appWindow('calendar'); win.location=win.location+(win.location.search.length ? '&' : '?')+'".$name."='+this.value;this.value='';";
+ $select = ' \n";
+
+ $file[] = array(
+ 'text' => $select,
+ 'no_lang' => True,
+ 'link' => False
+ );
}
}