Threaded View

  1. #11
    Ext User
    Join Date
    May 2007
    Posts
    40
    Vote Rating
    0
    mhubert is on a distinguished road

      0  

    Smile


    Ok -- thanks that was one thing.

    The second thing that needed changing is the function needs to be applied to the other tree
    Code:
         myfavreport.on('beforenodedrop', function(e){
          var n = e.dropNode; // the node that was dropped
       var copy = new Ext.tree.TreeNode( // copy it
                Ext.apply({}, n.attributes) 
              );
         e.dropNode = copy; // assign the copy as the new dropNode
      });
    below is a trick to prvent duplicating nodes dragged from inside the tree. This allows user sorting but prevents making additional copies
    Code:
         myfavreport.on('beforenodedrop', function(e){
          var n = e.dropNode; // the node that was dropped
       if (e.source.el !=this.el) {
           var copy = new Ext.tree.TreeNode( // copy it
                  Ext.apply({}, n.attributes) 
                );
           e.dropNode = copy; // assign the copy as the new dropNode
       }
      });
    Last edited by mhubert; 3 Jun 2007 at 8:11 PM. Reason: improvment I wanted to share w/ the community

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi