From 89c30a00a71988c8db632f8f3cc94ed241bdaa1f Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 01 Jan 2012 07:26:08 -0500 Subject: [PATCH] - Don't load jqueryui plugin, it's required now by default - Move datepicker's date format setting to the plugin --- program/steps/mail/compose.inc | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 76ff31d..c23c606 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -139,9 +139,6 @@ $OUTPUT->set_env('top_posting', $RCMAIL->config->get('top_posting', false)); $OUTPUT->set_env('recipients_separator', trim($RCMAIL->config->get('recipients_separator', ','))); -// use jquery UI for showing prompt() dialogs -$RCMAIL->plugins->load_plugin('jqueryui'); - // default font for HTML editor $font = rcube_fontdefs($RCMAIL->config->get('default_font', 'Verdana')); if ($font && !is_array($font)) { @@ -1276,7 +1273,7 @@ $button = new html_inputfield(array('type' => 'button')); $out = html::div($attrib, - $OUTPUT->form_tag(array('name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'), + $OUTPUT->form_tag(array('id' => $attrib['id'].'Frm', 'name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'), html::div(null, rcmail_compose_attachment_field(array('size' => $attrib['attachmentfieldsize']))) . html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize)))) . (get_boolean($attrib['buttons']) ? html::div('buttons', @@ -1286,7 +1283,7 @@ ) ); - $OUTPUT->add_gui_object('uploadform', $attrib['id']); + $OUTPUT->add_gui_object('uploadform', $attrib['id'].'Frm'); return $out; } -- Gitblit v1.9.1