You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2019/12/03 00:34:11 UTC

Re: Secretary tasklist form - why is the cancel button disabled on warnings?

I enabled it

On Fri, 29 Nov 2019 at 13:51, Sam Ruby <ru...@intertwingly.net> wrote:

> On Fri, Nov 29, 2019 at 7:16 AM sebb <se...@gmail.com> wrote:
> >
> > The file tasklist.html.rb has the following:
> >
> >       _div.buttons do
> >         _button.btn.btn_danger.proceed! 'proceed anyway'
> >         _button.btn.btn_warning.cancel! 'cancel', disabled: true
> >       end
> >
> > Why is the cancel button disabled?
> > There does not seem to be any code to enable it.
>
> Odd...  there is code in public/tasklist.js to handle the button being
> pressed.
>
> - Sam Ruby
>
> > S.
>