[
https://issues.apache.org/jira/browse/CLIMATE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131377#comment-15131377
]
Vinicius Eduardo Soares da Silva commented on CLIMATE-750:
----------------------------------------------------------
Hi,
I just realized I sent a pull request while the ticket was being assigned
to Michael. =S
Att,
--
Vinicius E. Soares da Silva
viniciuspontocom@[gmail|hotmail].com
veduardo [freenode]
vinicius.eduardo815 [skype]
On Wed, Feb 3, 2016 at 9:26 PM, Lewis John McGibbney (JIRA) <[email protected]
> $scope.fileLoadFailed Compares On Boolean Rather Than String
> ------------------------------------------------------------
>
> Key: CLIMATE-750
> URL: https://issues.apache.org/jira/browse/CLIMATE-750
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Reporter: Michael Anderson
> Assignee: Michael Anderson
> Priority: Trivial
> Fix For: 1.1
>
>
> $scope.fileLoadFailed is set using a Boolean:
> $scope.fileLoadFailed = true;
> $scope.fileLoadFailed = false;
> but the conditional treats it as a string and always fails:
> if($scope.fileLoadFailed === 'false'){
> Update comparison to compare as a boolean.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)