Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed animations on registrationForm

  • Loading branch information...
commit 92224c5a93ed619bd13af90a00c8c4d7b20b4326 1 parent de7f00e
@mwl mwl authored
View
2  sc-web/src/main/webapp/index.html
@@ -78,7 +78,7 @@
</div>
</div>
<hr/>
- <div class="well" ng-show="selectedRegistration">
+ <div id="registrationForm" class="well">
<button class="close" type="button" ng-click="hideRegistration()">x</button>
<div class="row-fluid" cave-registration="selectedRegistration">
<div class="span8">
View
11 sc-web/src/main/webapp/js/application.js
@@ -42,22 +42,21 @@ module.controller("IdentityCtrl", function($scope, $location, $log, $http) {
$scope.$watch("identity", function(newValue, oldValue) {
$scope.selectedRegistration = undefined
if (newValue) {
- $("#identity").slideUp()
+ $("#identity").hide()
$("#identity").slideDown()
}
else {
- $("#identity").slideUp()
+ $("#identity").hide()
}
})
$scope.$watch("selectedRegistration", function(newValue, oldValue) {
if (newValue) {
- $("#conceptBrowser").hide()
- $scope.selectedRegistration = newValue
- $("#conceptBrowser").slideDown()
+ $("#registrationForm").hide()
+ $("#registrationForm").slideDown("slow")
}
else {
- $("#conceptBrowser").slideUp()
+ $("#registrationForm").hide()
}
})
})
Please sign in to comment.
Something went wrong with that request. Please try again.