Use double-quotes for setTimeout of UIxJSClose.wox

This commit is contained in:
Francis Lachapelle
2015-06-10 09:09:01 -04:00
parent a56dbeb6a9
commit e1ecf797f5
4 changed files with 11 additions and 11 deletions
+3 -4
View File
@@ -1,6 +1,6 @@
/*
Copyright (C) 2004-2005 SKYRIX Software AG
Copyright (C) 2005-2010 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
This file is part of SOGo
@@ -378,9 +378,8 @@ static Class SOGoContactGCSEntryK = Nil;
result = [self redirectToLocation: [self modulePath]];
else
{
jsRefreshMethod
= [NSString stringWithFormat: @"refreshContacts(\"%@\")",
[contact nameInContainer]];
jsRefreshMethod = [NSString stringWithFormat: @"refreshContacts('%@')",
[contact nameInContainer]];
result = [self jsCloseWithRefreshMethod: jsRefreshMethod];
}
+5 -4
View File
@@ -1,6 +1,6 @@
/* UIxListEditor.m - this file is part of SOGo
*
* Copyright (C) 2008-2014 Inverse inc.
* Copyright (C) 2008-2015 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,6 +29,8 @@
#import <NGCards/NGVCardReference.h>
#import <NGCards/NGVList.h>
#import <SOGo/NSString+Utilities.h>
#import <Contacts/SOGoContactGCSEntry.h>
#import <Contacts/SOGoContactGCSFolder.h>
#import <Contacts/SOGoContactGCSList.h>
@@ -289,9 +291,8 @@
result = [self redirectToLocation: [self modulePath]];
else
{
jsRefreshMethod
= [NSString stringWithFormat: @"refreshContacts(\"%@\")",
[co nameInContainer]];
jsRefreshMethod = [NSString stringWithFormat: @"refreshContacts('%@')",
[co nameInContainer]];
result = [self jsCloseWithRefreshMethod: jsRefreshMethod];
}
}