extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
19 lines (15 loc) • 571 B
JavaScript
Ext.define('Ext.theme.neptune.panel.Panel', {
override: 'Ext.panel.Panel',
border: false,
bodyBorder: false,
initBorderProps: Ext.emptyFn,
initBodyBorder: function() {
// The superclass method converts a truthy bodyBorder into a number and sets
// an inline border-width style on the body element. This prevents that from
// happening if borderBody === true so that the body will get its border-width
// the stylesheet.
if (this.bodyBorder !== true) {
this.callParent();
}
}
});