refact($ionicPopup): move all of prompt to new api

Closes #1145
This commit is contained in:
Andy Joslin
2014-04-16 07:32:52 -06:00
parent 5ce4dfeca9
commit 27dfab8ba4

View File

@@ -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',