Hi again,

Have another bug/fix for the qx.ui.embed.Gallery widget (see below). The
'concat()' is not defined, but is not really needed since it's only one
additional line:

Change the function:

    addFromPartialList : function(vPartialList)
    {
      this.concat(vPartialList);

      for (var i=0, a=vPartialList, l=a.length; i<l; i++) {
        this._frame.appendChild(this.createCell(a[i], i));
      }
    },

to

    addFromPartialList : function(vPartialList)
    {
      for (var i=0, a=vPartialList, l=a.length; i<l; i++) {
        this._list.push(a[i]);
        this._frame.appendChild(this.createCell(a[i], i));
      }
    },

Now partial lists of images can be appended to the widget.

Best,
Dalmazio

P.S. Sorry about not trimming the previous reply... didn't notice that
Nabble quoted the *whole* message including debugging output.

-- 
View this message in context: 
http://n2.nabble.com/Loading-images-into-qx.ui.embed.Gallery-%280.7.3%29-tp530110p579821.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to