jQuery: The Write Less, Do More JavaScript Library

start call back issue in ui.sortable

View: New views
3 Messages — Rating Filter:   Alert me  

start call back issue in ui.sortable

by Ant-18 :: Rate this Message:

| View Threaded | Show Only this Message


Hi,
I've just upgraded to jquery-1.3b2.js and jquery-ui-
personalized-1.6rc4.min.js.
The .sortable function I wrote has a  start callback which no longer
seems to be being called.
as an example:
    $(".col").sortable({
        connectWith: [".col"],
        handle: "h2 span",
        placeholder: "placeholder",
        forcePlaceholderSize: "true",
        tolerance: "intersect",
        start: function(e, ui) {
            alert("in start");
        }
});

No longer works, but is fine if I revert back to current release. This
is my first real .sortable implementation, so I'm loathe to suggest
this is a bug without knowing for sure that the .col connecting with
other .col's is ok.

forcePlaceholderSize: "true" seems to work fine in Firefox, but not
IE.

Anyway, thanks very much for all your work on what is rapidly becoming
an essential library for me.
Cheers,
Ant


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: start call back issue in ui.sortable

by Paul Bakaus :: Rate this Message:

| View Threaded | Show Only this Message

Hi there,

that was a pretty big bug I've found two days ago - all callbacks were broken
in sortables (and drag & drop). It's fixed in the most recent SVN version
and will be released soon.

On Mon, Jan 12, 2009 at 1:14 PM, Ant <kalliste@...> wrote:

Hi,
I've just upgraded to jquery-1.3b2.js and jquery-ui-
personalized-1.6rc4.min.js.
The .sortable function I wrote has a  start callback which no longer
seems to be being called.
as an example:
   $(".col").sortable({
       connectWith: [".col"],
       handle: "h2 span",
       placeholder: "placeholder",
       forcePlaceholderSize: "true",
       tolerance: "intersect",
       start: function(e, ui) {
           alert("in start");
       }
});

No longer works, but is fine if I revert back to current release. This
is my first real .sortable implementation, so I'm loathe to suggest
this is a bug without knowing for sure that the .col connecting with
other .col's is ok.

forcePlaceholderSize: "true" seems to work fine in Firefox, but not
IE.

Anyway, thanks very much for all your work on what is rapidly becoming
an essential library for me.
Cheers,
Ant






--
Paul Bakaus
UI Architect
--
http://paulbakaus.com
http://www.linkedin.com/in/paulbakaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: start call back issue in ui.sortable

by Ant-18 :: Rate this Message:

| View Threaded | Show Only this Message


Awesome,
Thanks :)

On Jan 12, 1:26 pm, "Paul Bakaus" <paul.bak...@...> wrote:

> Hi there,
>
> that was a pretty big bug I've found two days ago - all callbacks were
> broken
> in sortables (and drag & drop). It's fixed in the most recent SVN version
> and will be released soon.
>
>
>
> On Mon, Jan 12, 2009 at 1:14 PM, Ant <kalli...@...> wrote:
>
> > Hi,
> > I've just upgraded to jquery-1.3b2.js and jquery-ui-
> > personalized-1.6rc4.min.js.
> > The .sortable function I wrote has a  start callback which no longer
> > seems to be being called.
> > as an example:
> >    $(".col").sortable({
> >        connectWith: [".col"],
> >        handle: "h2 span",
> >        placeholder: "placeholder",
> >        forcePlaceholderSize: "true",
> >        tolerance: "intersect",
> >        start: function(e, ui) {
> >            alert("in start");
> >        }
> > });
>
> > No longer works, but is fine if I revert back to current release. This
> > is my first real .sortable implementation, so I'm loathe to suggest
> > this is a bug without knowing for sure that the .col connecting with
> > other .col's is ok.
>
> > forcePlaceholderSize: "true" seems to work fine in Firefox, but not
> > IE.
>
> > Anyway, thanks very much for all your work on what is rapidly becoming
> > an essential library for me.
> > Cheers,
> > Ant
>
> --
> Paul Bakaus
> UI Architect
> --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---