Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 83f454d

Browse files
authored
Merge pull request #1238 from appirio-tech/f2f-skill_picker-by_shubhendus
Done button made active on page dirty instead of only communities
2 parents e97535f + 6fb6527 commit 83f454d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/skill-picker/skill-picker.controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ import _ from 'lodash'
196196
}
197197
promises.push(ProfileService.updateUserSkills(vm.username, data))
198198
}
199-
logger.debug('isCommunitiesDirty: ' + isCommunitiesDirty())
199+
200200
if (isCommunitiesDirty()) {
201201
for(var communityName in vm.communities) {
202202
var community = vm.communities[communityName]

Diff for: app/skill-picker/skill-picker.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@
7474
type="button",
7575
tc-busy-button, tc-busy-when="vm.saving",
7676
ng-click="vm.submitSkills()",
77-
ng-disabled="vm.disableDoneButton || !vm.isCommunitySelected()") Done
77+
ng-disabled="vm.disableDoneButton || !vm.isPageDirty()") Done

0 commit comments

Comments
 (0)