From bb4e142685ad40ec9e74612e33fc622a00a52278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=9A=E9=87=8C=E5=A3=AB=E6=9C=B1=E5=BE=B7?= Date: Fri, 18 Sep 2015 20:29:02 +0800 Subject: [PATCH] extension to support multiple selection --- js/angular/directive/actionSheet.js | 2 +- js/angular/service/actionSheet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/angular/directive/actionSheet.js b/js/angular/directive/actionSheet.js index 17578e3e85a..3beac7cf605 100644 --- a/js/angular/directive/actionSheet.js +++ b/js/angular/directive/actionSheet.js @@ -36,7 +36,7 @@ IonicModule '
' + '
' + '
' + - '' + + '' + '' + '
' + '
' + diff --git a/js/angular/service/actionSheet.js b/js/angular/service/actionSheet.js index ea054b8da49..24167a46433 100644 --- a/js/angular/service/actionSheet.js +++ b/js/angular/service/actionSheet.js @@ -145,7 +145,7 @@ function($rootScope, $compile, $animate, $timeout, $ionicTemplateLoader, $ionicP element.remove(); // scope.cancel.$scope is defined near the bottom scope.cancel.$scope = sheetEl = null; - (done || noop)(); + (done || noop)(opts.buttons); }); };