This commit is contained in:
Javier 2016-12-27 16:55:48 -03:00
commit 0d3f2bc802
7 changed files with 29 additions and 29 deletions

View file

@ -98,6 +98,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
};
$scope.sendMax = function() {
$scope.showSendMax = false;
$state.transitionTo('tabs.send.confirm', {
isWallet: $scope.isWallet,
toAmount: null,

View file

@ -1,14 +1,14 @@
'use strict';
angular.module('copayApp.directives')
.directive('sendMax', function($timeout) {
.directive('itemSelector', function($timeout) {
return {
restrict: 'E',
templateUrl: 'views/includes/sendMax.html',
templateUrl: 'views/includes/itemSelector.html',
transclude: true,
scope: {
show: '=sendMaxShow',
onSelect: '=sendMaxOnSelect'
show: '=itemSelectorShow',
onSelect: '=itemSelectorOnSelect'
},
link: function(scope, element, attrs) {
scope.hide = function() {