[ 1 post ]

Marc

YUI Contributor

  • Offline
  • Profile
Tags:

OverlayModal generates error on 3.5.0pr1 and pr2

Post Posted: Wed Feb 08, 2012 7:04 am
+0-
Hi,

II'm getting an error on this plugin when I use it with 3.5.0pr1 and pr2.

Code:
Ok, I've tracked down the error to the OverLay module and the OverlayModalPlugin.  The following configuration generates the error
panel =  new Y.Overlay({
                  srcNode:ctxt,
                  zIndex   :98,
                  render   :true,
                  visible   :false,
                  plugins   :[{fn:Y.Plugin.OverlayModal},
                  {fn:Y.Plugin.OverlayAutohide, cfg: {
                          focusedOutside : false
                      }}]
               });


removing the plugin, removes the error: Uncaught TypeError: Cannot read property 'readOnly' of undefined.

BTW, using gallery-2011.11.17-14-56. I'll try updating that also. Nope. also present under version
gallery-2012.02.01-21-35
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum