New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RA-1522: Fixed radio buttons on add new condition UI #201
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,10 +51,6 @@ function ConditionController($scope, RestfulService, ConditionModel, ConceptMode | |
self.saveCondition(); | ||
} | ||
|
||
self.unselectStatus = self.unselectStatus || function () { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this part of the ticket? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, This is to remove the functionality of cross button 'x' as mentioned on the ticket |
||
$scope.condition.status = null; | ||
} | ||
|
||
self.getSelectedDate = self.getSelectedDate || function () { | ||
var datePicker = angular.element(document.getElementsByName('conditionStartDate'))[0]; | ||
return datePicker.value; | ||
|
@@ -65,5 +61,4 @@ function ConditionController($scope, RestfulService, ConditionModel, ConceptMode | |
|
||
// bind functions to scope | ||
$scope.validateCondition = self.validateCondition; | ||
$scope.unselectStatus = self.unselectStatus; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this part of the ticket? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, to remove the functionality of cross button 'x' |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this part of the ticket?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, to remove the functionality of cross button 'x'