Fix over-sized "Upload" and "From cloud..." buttons
This commit is contained in:
parent
8c9bdc4571
commit
07742bd661
5 changed files with 7 additions and 7 deletions
|
@ -616,7 +616,7 @@ class calendar_ui
|
|||
|
||||
return html::div($attrib,
|
||||
html::div(null, $input->show()) .
|
||||
html::div('formbuttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction',
|
||||
html::div('buttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction',
|
||||
'onclick' => rcmail_output::JS_OBJECT_NAME . ".upload_file(this.form)"))) .
|
||||
html::div('hint', $this->rc->gettext(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize))))
|
||||
);
|
||||
|
|
|
@ -640,7 +640,7 @@ a.miniColors-trigger {
|
|||
border-top: 2px solid #fafafa;
|
||||
}
|
||||
|
||||
#edit-attachments-form .formbuttons {
|
||||
#edit-attachments-form .buttons {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ window.rcmail && window.files_api && rcmail.addEventListener('init', function()
|
|||
// add "attach from cloud" button for event/task dialog in mail
|
||||
rcmail.addEventListener('plugin.mail2event_dialog', function() {
|
||||
if (!$('#calendar-attachment-form input.fromcloud').length)
|
||||
kolab_files_from_cloud_widget($('#calendar-attachment-form > div.formbuttons'));
|
||||
kolab_files_from_cloud_widget($('#calendar-attachment-form > div.buttons'));
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -66,13 +66,13 @@ window.rcmail && window.files_api && rcmail.addEventListener('init', function()
|
|||
else if (rcmail.task == 'calendar') {
|
||||
// add "attach from cloud" button for event dialog
|
||||
if (!rcmail.env.action)
|
||||
kolab_files_from_cloud_widget($('#calendar-attachment-form > div.formbuttons'));
|
||||
kolab_files_from_cloud_widget($('#calendar-attachment-form > div.buttons'));
|
||||
kolab_files_init();
|
||||
}
|
||||
else if (rcmail.task == 'tasks') {
|
||||
// add "attach from cloud" button for task dialog
|
||||
if (!rcmail.env.action)
|
||||
kolab_files_from_cloud_widget($('#taskedit-attachment-form > div.formbuttons'));
|
||||
kolab_files_from_cloud_widget($('#taskedit-attachment-form > div.buttons'));
|
||||
kolab_files_init();
|
||||
}
|
||||
else if (rcmail.task == 'files') {
|
||||
|
|
|
@ -912,7 +912,7 @@ a.morelink:hover {
|
|||
width: 97%;
|
||||
}
|
||||
|
||||
#taskeditform .formbuttons {
|
||||
#taskeditform .buttons {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -447,7 +447,7 @@ class tasklist_ui
|
|||
|
||||
return html::div($attrib,
|
||||
html::div(null, $input->show()) .
|
||||
html::div('formbuttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction',
|
||||
html::div('buttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction',
|
||||
'onclick' => rcmail_output::JS_OBJECT_NAME . ".upload_file(this.form)"))) .
|
||||
html::div('hint', $this->rc->gettext(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize))))
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue