Skip to content

Commit

Permalink
MOTECH-2618 Fixed the console error while selecting default configura…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
shanmukhm committed Jun 9, 2016
1 parent 1b2cf6a commit 07f8348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare/src/main/resources/webapp/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
} else {
$scope.rollback = false;
}
} else if (newValue !== undefined && newValue.name === "") {
} else if (newValue && newValue.name === "") {
$scope.newConfig = true;
$scope.oldName = "";
$scope.clearMessages();
Expand Down

0 comments on commit 07f8348

Please sign in to comment.