Fix attachment/message links; avoid double-escaping of folder names in drop-down list
This commit is contained in:
parent
9b38634115
commit
015ef6cd6b
3 changed files with 3 additions and 5 deletions
|
@ -261,11 +261,7 @@ class kolab_notes extends rcube_plugin
|
|||
$this->rc->output->set_env('kolab_notes_template', array(
|
||||
'_from_mail' => true,
|
||||
'title' => $message->get('subject'),
|
||||
'links' => array(array(
|
||||
'uri' => $this->get_message_uri($message, $folder),
|
||||
'message_id' => $message->get('message-id'),
|
||||
'subject' => $message->get('subject'),
|
||||
)),
|
||||
'links' => array($this->get_message_reference($this->get_message_uri($message, $folder))),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ class kolab_notes_ui
|
|||
$attrib += array('id' => 'rcmkolabnotebooks');
|
||||
|
||||
if ($attrib['type'] == 'select') {
|
||||
$attrib['is_escaped'] = true;
|
||||
$select = new html_select($attrib);
|
||||
}
|
||||
|
||||
|
|
|
@ -1006,6 +1006,7 @@ function rcube_kolab_notes_ui(settings)
|
|||
$('.tagline, .dates', rcmail.gui_objects.noteviewtitle).hide();
|
||||
$(rcmail.gui_objects.noteseditform).hide();
|
||||
$(rcmail.gui_objects.notesdetailview).hide();
|
||||
$(rcmail.gui_objects.notesattachmentslist).html('');
|
||||
rcmail.enable_command('save', false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue