|
@@ -0,0 +1,21 @@
|
|
|
+import _ from 'lodash'
|
|
|
+import $ from 'jquery'
|
|
|
+import initTbFill from './tbfill'
|
|
|
+import initTbSeparator from './tbseparator'
|
|
|
+
|
|
|
+export default function () {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ const ct = Ext.toolbar.Toolbar.prototype.constructor
|
|
|
+ Ext.toolbar.Toolbar.override({
|
|
|
+ constructor: function (config) {
|
|
|
+ const newConfig = _.defaultsDeep({}, config, {
|
|
|
+ cls: ['yvan_design', 'design_cols_container']
|
|
|
+ })
|
|
|
+ ct.call(this, newConfig)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ initTbFill();
|
|
|
+ initTbSeparator();
|
|
|
+}
|