var showEditor = false;
this.get('/Editor').activePath = false;
this.get('/Editor').el.hide();
-
+ var provider = this.get('/LeftTree').getPaleteProvider();
if (col) {
var provider = this.get('/LeftTree').getPaleteProvider();
var type = this.get('/LeftPanel.model').getType(path);
//_this.get('/BottomPane').el.show();
//_this.get('/RightEditor').el.show();
- _this.get('/Editor.RightEditor.view').load( _this.getValue(path, 1) );
+ _this.get('/Editor.RightEditor.view').load( _this.getValue(path, 1), provider.name );
_this.get('/Editor').activePath = path;
_this.activePath = path ;