"clicked" : [
" ( ) => {",
" ",
- "\t_this.win.windowstate.projectPopoverShow(this.el, _this.project);",
+ "\t_this.win.windowstate.projectPopoverShow(this.el, _this.selectedProject);",
" }"
]
},
" // create a new file in project..",
" print(\"add file selected\\n\");",
" ",
- " if (_this.project == null) {",
+ " if (_this.selectedProject == null) {",
" \treturn;",
" }",
" ",
- " var f = JsRender.JsRender.factory(_this.project.xtype, _this.project, \"\");",
+ " var f = JsRender.JsRender.factory(_this.selectedProject.xtype, _this.selectedProject, \"\");",
" _this.win.windowstate.file_details.show( f, this.el );",
"",
"}"
//listeners
this.el.clicked.connect( ( ) => {
- _this.win.windowstate.projectPopoverShow(this.el, _this.project);
+ _this.win.windowstate.projectPopoverShow(this.el, _this.selectedProject);
});
}
// create a new file in project..
print("add file selected\n");
- if (_this.project == null) {
+ if (_this.selectedProject == null) {
return;
}
- var f = JsRender.JsRender.factory(_this.project.xtype, _this.project, "");
+ var f = JsRender.JsRender.factory(_this.selectedProject.xtype, _this.selectedProject, "");
_this.win.windowstate.file_details.show( f, this.el );
});