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/11/29 12:16:06 UTC
Secretary tasklist form - why is the cancel button disabled on warnings?
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.
S.
Re: Secretary tasklist form - why is the cancel button disabled on warnings?
Posted by sebb <se...@gmail.com>.
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.
>
Re: Secretary tasklist form - why is the cancel button disabled on warnings?
Posted by Sam Ruby <ru...@intertwingly.net>.
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.