Hmm - it seems a little tricky to do something like that. I can
definitely imagine someone trying to submit a ticket like "I was
trying to build a dialog and ...."

I wonder what would happen if we just redirected the form to the UI
bug tracker instead of the jQuery one - at least then it would have a
better hit chance (e.g. changing the form action="" to be equal to the
UI trac).

--John



On Fri, Nov 14, 2008 at 12:20 PM, Cloudream <[EMAIL PROTECTED]> wrote:
>
> What about add a function in trac for checking if user is submitting a
> ticket about jQuery UI?
>
> like:
>
> $("form").submit(function(e){
>  if (/draggables|dialog|datepicker|.../i.test($("textarea").val()) ) {
>  if (confirm("You are submitting a UI-related ticket, and jQuery UI
> has its own tickets system....")) {
>  ...
>  } else {
>  e.preventDefault();
>  }
>  }
> });
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to