|
|
@@ -35,7 +35,7 @@ class CreateProject extends ModalWindow {
|
|
|
|
|
|
this.projectPath = projectPath;
|
|
|
this.projectTemplate = projectTemplate;
|
|
|
- this.defaultLang = Preferences.getInstance().editorFeatures.defaultLanguage;
|
|
|
+ this.defaultLanguage = Preferences.getInstance().editorFeatures.defaultLanguage;
|
|
|
|
|
|
this.init("Create Project", "AtomicEditor/editor/ui/createproject.tb.txt");
|
|
|
|
|
|
@@ -385,9 +385,9 @@ class CreateProject extends ModalWindow {
|
|
|
if ( this.projectLanguageFieldSource.getItemStr( ii ) == "TypeScript" ) tsrank = ii;
|
|
|
}
|
|
|
|
|
|
- if ( this.defaultLang == "JavaScript" ) defrank = jsrank; // which is the default language
|
|
|
- if ( this.defaultLang == "CSharp" ) defrank = csrank;
|
|
|
- if ( this.defaultLang == "TypeScript" ) defrank = tsrank;
|
|
|
+ if ( this.defaultLanguage == "JavaScript" ) defrank = jsrank; // which is the default language
|
|
|
+ if ( this.defaultLanguage == "CSharp" ) defrank = csrank;
|
|
|
+ if ( this.defaultLanguage == "TypeScript" ) defrank = tsrank;
|
|
|
|
|
|
if ( defrank > -1 ) this.projectLanguageField.value = defrank; // the default language is present
|
|
|
else if ( jsrank > -1 ) this.projectLanguageField.value = jsrank; // js is present
|
|
|
@@ -410,7 +410,7 @@ class CreateProject extends ModalWindow {
|
|
|
// if we have specified a projectPath, the dest will not be the combination of path + name
|
|
|
projectPath: string;
|
|
|
projectTemplate: ProjectTemplates.ProjectTemplateDefinition;
|
|
|
- defaultLang: string;
|
|
|
+ defaultLanguage: string;
|
|
|
}
|
|
|
|
|
|
|