jameskleeh / angular-confirm

Confirmation modal dialog for AngularJS
Apache License 2.0
150 stars 75 forks source link

Return in promise data (when error) #73

Closed kotmatpockuh closed 8 years ago

kotmatpockuh commented 8 years ago

For example: i have an input in confirm. How can i get data.inputText in second function after .then() (error processing)

jameskleeh commented 8 years ago

pass whatever variable you want to the cancel function. That variable will be passed to the error function

kotmatpockuh commented 8 years ago

@Schlogen but how to pass data on backdrop click?

jameskleeh commented 8 years ago

I don't believe ui-bootstrap modal supports that. if it does, link me the relevant docs