@@ -617,7 +617,7 @@
// [self hideMenu];
// [self switchToHome:nil];
[appDelegate Logout];
-
+ [self checklogin :false];
if(showlogin)
{
LoginViewController * loginvc =[ self.storyboard instantiateViewControllerWithIdentifier:@"LoginViewController"];
@@ -676,6 +676,7 @@
}];
}
+
- (IBAction)onUserListClick:(id)sender {
@@ -3482,7 +3482,8 @@
// [alert dismissWithClickedButtonIndex:0 animated:FALSE];
[alert dismissViewControllerAnimated:YES completion:nil];
- [appDelegate printPdf:pdf_url company:company send_to:send_to soid:soid content:email_content];
+ NSString *pdf_title = [editor_json objectForKey:@"title"];
+ [appDelegate printPdf:pdf_url company:company send_to:send_to soid:pdf_title content:email_content];