6e5bf552fdf279ee5b0043176a51ff06fba9c5a0
[Packages/TYPO3.CMS.git] / typo3 / js / extjs / modulepanel.js
1 /***************************************************************
2 * Copyright notice
3 *
4 * (c) 2011 Kay Strobach <typo3@kay-strobach.de>
5 * All rights reserved
6 *
7 * This script is part of the TYPO3 project. The TYPO3 project is
8 * free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * The GNU General Public License can be found at
14 * http://www.gnu.org/copyleft/gpl.html.
15 * A copy is found in the textfile GPL.txt and important notices to the license
16 * from the author is found in LICENSE.txt distributed with these scripts.
17 *
18 *
19 * This script is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * This copyright notice MUST APPEAR in all copies of the script!
25 ***************************************************************/
26
27 TYPO3.modulePanel = Ext.extend(Ext.Panel, {
28 name: 'modulePanel',
29 maskMessage: ' ',
30 doMask: true,
31 border: false,
32 // component build
33 initComponent: function() {
34 Ext.apply(this, {
35 tbarCfg: {
36 cls: 't3skin-typo3-module-panel-toolbar'
37 },
38 bbarCfg: {
39 cls: 't3skin-typo3-module-panel-toolbar'
40 }
41 });
42 TYPO3.modulePanel.superclass.initComponent.apply(this, arguments);
43 }
44 });
45 Ext.reg('modulePanel', TYPO3.modulePanel);