]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('Ext.theme.neptune.panel.Panel', {\r |
2 | override: 'Ext.panel.Panel',\r | |
3 | \r | |
4 | border: false,\r | |
5 | bodyBorder: false,\r | |
6 | \r | |
7 | initBorderProps: Ext.emptyFn,\r | |
8 | \r | |
9 | initBodyBorder: function() {\r | |
10 | // The superclass method converts a truthy bodyBorder into a number and sets\r | |
11 | // an inline border-width style on the body element. This prevents that from\r | |
12 | // happening if borderBody === true so that the body will get its border-width\r | |
13 | // the stylesheet.\r | |
14 | if (this.bodyBorder !== true) {\r | |
15 | this.callParent();\r | |
16 | }\r | |
17 | }\r | |
18 | });\r |