Opened 9 years ago

Closed 9 years ago

#9824 closed bug (invalid)

Can not do resizable in a resizable div

Reported by: gcaufy Owned by: gcaufy
Priority: minor Milestone: none
Component: ui.resizable Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

When I have a resizable div and want to create a resizable div inside it. the resizable function does not work.

Here is the original code:

this._renderAxis = function(target) {
    target = target || this.element;
    for(var i in this.handles) {
        if(this.handles[i].constructor == String)
            this.handles[i] = $(this.handles[i], this.element).show();

The code:

this.handles[i] = $(this.handles[i], this.element).show();

Which I think should be changed to:

this.handles[i] = this.element.children(this.handles[i]).show();

otherwise the handles will include all children handles.

If you want me to do a demo, I can demo it for you.

Thanks

Change History (2)

comment:1 Changed 9 years ago by tj.vantoll

Owner: set to gcaufy
Status: newpending

Hi gcaufy,

We'll need that demo so we can look into this. You can use this as a starting point: http://jsfiddle.net/tj_vantoll/VJNFF/.

comment:2 Changed 9 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.