From 16d52975ef566ac9643f3458266ea515cb73d775 Mon Sep 17 00:00:00 2001 From: "Aaron B. Russell" Date: Wed, 2 Nov 2016 14:18:56 +0000 Subject: [PATCH] Prevent cancel button from raising exception --- src/ios/DatePicker.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ios/DatePicker.m b/src/ios/DatePicker.m index caae145..2ca4718 100644 --- a/src/ios/DatePicker.m +++ b/src/ios/DatePicker.m @@ -145,10 +145,10 @@ - (void)dateChangedAction:(id)sender { #pragma mark - JS API - (void)jsCancel { - NSLog(@"JS Cancel is going to be executed"); - NSString *jsCallback = @"datePicker._dateSelectionCanceled();"; + // NSLog(@"JS Cancel is going to be executed"); + // NSString *jsCallback = @"datePicker._dateSelectionCanceled();"; - [self.commandDelegate evalJs:jsCallback]; + // [self.commandDelegate evalJs:jsCallback]; } - (void)jsDateSelected {