Merge pull request #2700 from cmgustavo/feat/anims-slide-right

Fix slide animation for txp and tx history
This commit is contained in:
Matias Alejo Garcia 2015-05-12 00:34:07 -03:00
commit 08a61436fb
4 changed files with 14 additions and 9 deletions

View file

@ -283,13 +283,13 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var modalInstance = $modal.open({
templateUrl: 'views/modals/txp-details.html',
windowClass: 'full animated slideInUp',
windowClass: 'full animated slideInRight',
controller: ModalInstanceCtrl,
});
modalInstance.result.finally(function() {
var m = angular.element(document.getElementsByClassName('reveal-modal'));
m.addClass('slideOutDown');
m.addClass('slideOutRight');
});
modalInstance.result.then(function(txp) {
@ -845,13 +845,13 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var modalInstance = $modal.open({
templateUrl: 'views/modals/tx-details.html',
windowClass: 'full animated slideInUp',
windowClass: 'full animated slideInRight',
controller: ModalInstanceCtrl,
});
modalInstance.result.finally(function() {
var m = angular.element(document.getElementsByClassName('reveal-modal'));
m.addClass('slideOutDown');
m.addClass('slideOutRight');
});
};