Skip to content

Commit

Permalink
이슈 7877, 7878 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
kimorkim committed Nov 28, 2017
1 parent 6022a45 commit 06be1e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/renderer/src/workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ angular.module('workspace').controller("WorkspaceController", ['$scope', '$rootS
} else if (isPracticalCourseMode === false) {
isPracticalCourse = false;
myProject.setMode('default');
settingForDefault();
}

myProject.isSavedPath = storage.getItem('defaultPath') || '';
Expand Down Expand Up @@ -969,6 +970,11 @@ angular.module('workspace').controller("WorkspaceController", ['$scope', '$rootS
hwCategoryList = EntryStatic.hwCategoryList;
}

function settingForDefault() {
defaultInitOption = {};
hwCategoryList = [];
}

function addSpinnerPopup() {
$scope.popupHelper.addPopup('workspaceSpinner', {
type: 'spinner',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="workspace_language">
<ul class="language_wrapper" ng-if="PracticalMode != 'practical_course'">
<li class="dropdown" uib-dropdown>
<a href class="dropdown-toggle" uib-dropdown-toggle>
<a href class="dropdown-toggle" data-toggle="dropdown">
<span class="menu">{{user_language | text}}
<b class="caret"></b>
</span>
Expand Down

0 comments on commit 06be1e7

Please sign in to comment.