Mailing List Archive

TracDragDropPlugin - "Add Attachment" form missing on wiki pages
Hello

I am experimenting with the TracDragDropPlugin. Very useful plugin!

https://trac-hacks.org/wiki/TracDragDropPlugin

The plugin is fully operative for my tickets. However for wiki pages it
does not show the "Add Attachment" form. Obviously one cannot use TRAC
without this form.

I have TRAC 1.4.2. All other plugins are disabled.
Anybody else who is using TracDragDropPlugin with TRAC 1.4?

When I investigate the wiki HTML with browser tools I can find the
missing form in the HTML DOM. But it invisible. Why?

<form class="tracdragdrop-form" style="display: none;">
<fieldset><legend>Add Attachment</legend>
SNIP
</fieldset></form>

Any feedback is appreciated.

Clemens


--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/0cdca310-f133-422a-cd04-ff88885e4ac1%40osypkamed.com.
Re: TracDragDropPlugin - "Add Attachment" form missing on wiki pages [ In reply to ]
Hi,

On Fri, Feb 26, 2021 at 9:15 AM Clemens Feige <c.feige@osypkamed.com> wrote:
>
> Hello
>
> I am experimenting with the TracDragDropPlugin. Very useful plugin!
>
> https://trac-hacks.org/wiki/TracDragDropPlugin
>
> The plugin is fully operative for my tickets. However for wiki pages it
> does not show the "Add Attachment" form. Obviously one cannot use TRAC
> without this form.
>
> I have TRAC 1.4.2. All other plugins are disabled.
> Anybody else who is using TracDragDropPlugin with TRAC 1.4?
>
> When I investigate the wiki HTML with browser tools I can find the
> missing form in the HTML DOM. But it invisible. Why?
>
> <form class="tracdragdrop-form" style="display: none;">
> <fieldset><legend>Add Attachment</legend>
> SNIP
> </fieldset></form>
>
> Any feedback is appreciated.
>
> Clemens

I tried Trac 1.4.2 with TracDragDropPlugin latest (r17646), however it
works fine.
"Attach file" button toggles "Add attachment" form.

- Are you using the latest version?
- Check javascript console
- Clear browser cache

--
Jun Omae <jun66j5@gmail.com> (?? ?)

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMag2-niFM6t-ZMpqE_zxwMNCjMrNPWyha7tgJw7FnP-n9w%40mail.gmail.com.
Re: TracDragDropPlugin - "Add Attachment" form missing on wiki pages [ In reply to ]
Jun Omae wrote on 26.02.2021 at 04:26:
> Hi,
>
> On Fri, Feb 26, 2021 at 9:15 AM Clemens Feige <c.feige@osypkamed.com> wrote:
>>
>> Hello
>>
>> I am experimenting with the TracDragDropPlugin. Very useful plugin!
>>
>> https://trac-hacks.org/wiki/TracDragDropPlugin
>>
>> The plugin is fully operative for my tickets. However for wiki pages it
>> does not show the "Add Attachment" form. Obviously one cannot use TRAC
>> without this form.
>>
>> I have TRAC 1.4.2. All other plugins are disabled.
>> Anybody else who is using TracDragDropPlugin with TRAC 1.4?
>>
>> When I investigate the wiki HTML with browser tools I can find the
>> missing form in the HTML DOM. But it invisible. Why?
>>
>> <form class="tracdragdrop-form" style="display: none;">
>> <fieldset><legend>Add Attachment</legend>
>> SNIP
>> </fieldset></form>
>>
>> Any feedback is appreciated.
>>
>> Clemens
>
> I tried Trac 1.4.2 with TracDragDropPlugin latest (r17646), however it
> works fine.
> "Attach file" button toggles "Add attachment" form.
>

Hi Jun

SOLVED!

My fault. You are right.
For wiki pages the "Add Attachment" form will appear after clicking the
"Attach another file" button.

I was confused because for tickets the "Add Attachment" form is part of
the collapsible "Attachment" section. Thus for tickets it is enough to
open that section. But for wiki pages the logic is a little different.

Clemens

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/e872aa2d-0d47-1576-32b1-ef7b5fb58456%40osypkamed.com.