Skip to forum content

Mif

— mystic javascript interface

You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields labelled (Required) must be completed before the form is submitted.

Required information for guests



Captcha image. Turn pictures on to see it.
Required information
Optional post settings

Topic review (newest first)

1

if you comment

if(target && target.tree) this.tree.select(target);

you don't see node selection, blue dotted line will work. You can add some style when node in drop inside position:

onDrop: function(){
    if(this.inside){
        this.inside.getDOM('name').style.border = 'none';
        this.inside = null;
    }
},
onDrag: function(){
    if(this.where == 'inside') {
        if(this.inside) this.inside.getDOM('name').style.border = 'none';
        this.inside = this.target;
        this.target.getDOM('name').style.border = 'dashed 1px green';
    }else if(this.inside){
        this.inside.getDOM('name').style.border = 'none';
        this.inside = null;
    }
}

2

Please add an option for disabling auto-select on dragging over an node.
If i comment this line out:

if(target && target.tree) this.tree.select(target);

i don´t see an insertion marker (blue small line) any more.
How should i fix this?

thx André