|
@@ -420,8 +420,8 @@
|
|
|
|
|
|
[self updateFormScrollEnabled];
|
|
[self updateFormScrollEnabled];
|
|
if([widgetAnnotation isKindOfClass:[CPDFChoiceWidgetAnnotation class]] || ([widgetAnnotation isKindOfClass:[CPDFButtonWidgetAnnotation class]] && isPushButton)) {
|
|
if([widgetAnnotation isKindOfClass:[CPDFChoiceWidgetAnnotation class]] || ([widgetAnnotation isKindOfClass:[CPDFButtonWidgetAnnotation class]] && isPushButton)) {
|
|
- if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditWidget:forAnnotation:)]) {
|
|
|
|
- [self.performDelegate PDFListViewEditWidget:self forAnnotation:self.activeAnnotation];
|
|
|
|
|
|
+ if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditNote:forAnnotation:)]) {
|
|
|
|
+ [self.performDelegate PDFListViewEditNote:self forAnnotation:self.activeAnnotation];
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
[self showMenuForWidgetAnnotation:widgetAnnotation];
|
|
[self showMenuForWidgetAnnotation:widgetAnnotation];
|
|
@@ -524,14 +524,14 @@
|
|
#pragma mark - Action
|
|
#pragma mark - Action
|
|
|
|
|
|
- (void)menuItemClick_Option:(UIMenuItem *)menuItem {
|
|
- (void)menuItemClick_Option:(UIMenuItem *)menuItem {
|
|
- if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditWidget:forAnnotation:)]) {
|
|
|
|
- [self.performDelegate PDFListViewEditWidget:self forAnnotation:self.activeAnnotation];
|
|
|
|
|
|
+ if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditNote:forAnnotation:)]) {
|
|
|
|
+ [self.performDelegate PDFListViewEditNote:self forAnnotation:self.activeAnnotation];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- (void)menuItemClick_FormEdit:(UIMenuItem *)menuItem {
|
|
- (void)menuItemClick_FormEdit:(UIMenuItem *)menuItem {
|
|
- if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditWidget:forAnnotation:)]) {
|
|
|
|
- [self.performDelegate PDFListViewEditWidget:self forAnnotation:self.activeAnnotation];
|
|
|
|
|
|
+ if(self.performDelegate && [self.performDelegate respondsToSelector:@selector(PDFListViewEditNote:forAnnotation:)]) {
|
|
|
|
+ [self.performDelegate PDFListViewEditNote:self forAnnotation:self.activeAnnotation];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|