History log of /yui3/src/panel/js/panel.js
Revision Date Author Comments Expand
074f66ea47a2bd76f91d1a7990b65a8f4fc65f9c 26-Mar-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Changed approach for making Panel's "close" button not submit forms. After a code review we decided that it would be better to adjust the "close" button's `template` instead of creating a custom `action` fn. Fixes #2531936

eea6edce0399e2f05e988d9b5dcd697201ea85b7 23-Mar-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Panel's default "close" button now prevents default on the button event. Panel's "close" button was simply calling the panel's `hide()` method, which allowed the button's default click action to still happen. When a Panel is rendered inside a form this is an undesirable consequence because the `<button>` element will submit the form.

18783dc634f73b2c83db4142ec603e15d1f8ac42 23-Feb-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Panel's "close" button config is using the `action` String support.

69466ce67b8ee7c84e60821d469d82118db8e998 22-Feb-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Renamed Panel.js -> panel.js