Loading ...
Sorry, an error occurred while loading the content.

Re: Trouble (bug?) with the Image Browser example on Firefox 3...

Expand Messages
  • emillmore
    Hi Dav, did you had a chance to look at it ? I have the same bug and I have to go in prod tomorrow :(! tks, Eric ...
    Message 1 of 4 , Dec 4, 2008
    • 0 Attachment
      Hi Dav,

      did you had a chance to look at it ?

      I have the same bug and I have to go in prod tomorrow :(!

      tks,
      Eric

      --- In ydn-javascript@yahoogroups.com, dav.glass@... wrote:
      >
      >
      > Philip --
      >
      > It is a bug:
      http://sourceforge.net/tracker/?func=detail&atid=836476&aid=2151060&group_id=165715
      >
      > Sorry I haven't had a chance to look at it yet, I'll try to take a
      look tomorrow and see if I can whip up a patch..
      >
      > Dav
      >
      > Dav Glass
      > dav.glass@...
      > blog.davglass.com
      >
      >
      >
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >
      >
      >
      > ----- Original Message ----
      > > From: Philip Crissman <phil.crissman@...>
      > > To: ydn-javascript@yahoogroups.com
      > > Sent: Wednesday, October 15, 2008 9:12:30 PM
      > > Subject: [ydn-javascript] Trouble (bug?) with the Image Browser
      example on Firefox 3...
      > >
      > > I'm customizing the image browser example, and have found what _seems_
      > > to be a bug when used in Firefox 3; the example on Dav's website,
      > > http://blog.davglass.com/files/yui/editor13/, works perfectly; while
      > > the example on the developer.yahoo.com site seems to have the bug
      > >
      (http://developer.yahoo.com/yui/examples/editor/imagebrowser_editor.html).
      > >
      > > What I'm finding is: after inserting an image, if you select that
      > > image, and click the insertimage button again, instead of the image
      > > options window should pop up, allowing you to choose alignment, etc,
      > > for the image, the image browser pop-up window. This is working on
      > > Dav's site, but not on the YUI site. The only difference I've found so
      > > far is that Dav's site is using version 2.3.1, while the YUI example
      > > site is using version 2.6.0.
      > >
      > > The code I'm using right now is:
      > >
      > > myEditor.on('toolbarLoaded', function() {
      > >
      > > //When the toolbar is loaded, add a listener to the
      insertimage button
      > > this.toolbar.on('insertimageClick', function() {
      > > //Get the selected element
      > > // var _sel = this._getSelectedElement();
      > > // had to use current element to get doubleClick to work;
      > > // but re-clicking the insertimage button still isn't working...
      > > var _sel = this.currentElement[0];
      > > if (_sel && _sel.tagName && (_sel.tagName.toLowerCase() ==
      'img')) {
      > > //Do the normal thing here...
      > > } else {
      > > // instead of a popup window; this part is working fine....
      > > $('photo_browser').show();
      > > return false;
      > > }
      > > }, this, true);
      > > }, myEditor, true);
      > >
      > >
      > > I do want to get it working in FF3, so, any ideas or suggestions are
      > > welcome... thanks!
      > >
      > >
      > > ------------------------------------
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.