From 27dfab8ba4b1c603446983ca3c5d651013cd65ef Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Wed, 16 Apr 2014 07:32:52 -0600 Subject: [PATCH] refact($ionicPopup): move all of prompt to new api Closes #1145 --- js/angular/service/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/service/popup.js b/js/angular/service/popup.js index 7f6ffe2a3a..58094ee740 100644 --- a/js/angular/service/popup.js +++ b/js/angular/service/popup.js @@ -452,7 +452,7 @@ function($animate, $ionicTemplateLoader, $ionicBackdrop, $log, $q, $timeout, $ro buttons: [{ text: opts.cancelText || 'Cancel', type: opts.cancelType|| 'button-default', - onTap: function(e) { e.preventDefault(); } + onTap: function(e) {} }, { text: opts.okText || 'OK', type: opts.okType || 'button-positive',