PDA

View Full Version : typo in basic-dialog.js source



jbowman
5 Nov 2006, 3:14 PM
/**
* @class YAHOO.ext.BasicDialog
* Lightweight Dialog Class
* Supports the following configuration options (listed with default value):
* width: auto
* height: auto
* x: (center screen x)
* y: (center screen y)
* animateTarget: null (no animation) This is the id or element to animate from
* resizable: true
* minHeight: 80
* minWidth: 200
* model: false
* autoScroll: true
* closable: true
* constraintoviewport: true
* draggable: true
* autoTabs: false (if true searches child nodes for elements with class ydlg-tab and converts them to tabs)
* minButtonWidth: 75


should be



/**
* @class YAHOO.ext.BasicDialog
* Lightweight Dialog Class
* Supports the following configuration options (listed with default value):
* width: auto
* height: auto
* x: (center screen x)
* y: (center screen y)
* animateTarget: null (no animation) This is the id or element to animate from
* resizable: true
* minHeight: 80
* minWidth: 200
* modal: false <-- CHANGE MADE HERE
* autoScroll: true
* closable: true
* constraintoviewport: true
* draggable: true
* autoTabs: false (if true searches child nodes for elements with class ydlg-tab and converts them to tabs)
* minButtonWidth: 75

jack.slocum
5 Nov 2006, 4:19 PM
Thanks!

jack.slocum
5 Nov 2006, 4:21 PM
Haha, I just went to update it and it appears to already be updated! Rodrigo Moraes must have fixed it. He added some new stuff to BasicDialog that will be in the next rev.