|
@@ -124,6 +124,7 @@
|
|
|
_selectedMetadatas = [[NSMutableArray alloc] init];
|
|
|
_queueSelector = [[NSMutableArray alloc] init];
|
|
|
_isViewDidLoad = YES;
|
|
|
+ _fatherPermission = @"";
|
|
|
|
|
|
// delegate
|
|
|
self.tableView.delegate = self;
|
|
@@ -1038,6 +1039,10 @@
|
|
|
for (OCNotifications *notification in listOfNotifications)
|
|
|
[appDelegate.listOfNotifications setObject:notification forKey:[NSString stringWithFormat:@"%lu", (unsigned long)notification.idNotification]];
|
|
|
|
|
|
+ // Test if is already open, otherwise view the messages
|
|
|
+ if ([JSAlertView isOpenAlertWindows])
|
|
|
+ return;
|
|
|
+
|
|
|
for (NSString *idNotification in app.listOfNotifications) {
|
|
|
|
|
|
OCNotifications *notification = [app.listOfNotifications objectForKey:idNotification];
|