зеркало из https://github.com/mozilla/pjs.git
Adding another check if you launch calendar from command line.
This commit is contained in:
Родитель
8dd7f92a9d
Коммит
5ab260aed8
|
@ -67,7 +67,7 @@ const extensionCsv = ".csv";
|
|||
const filterRdf = "iCalendar RDF";
|
||||
const extensionRdf = ".rdf";
|
||||
|
||||
if( opener.gICalLib )
|
||||
if( opener && opener.gICalLib )
|
||||
gICalLib = opener.gICalLib;
|
||||
|
||||
// convert to and from Unicode for file i/o
|
||||
|
|
|
@ -67,7 +67,7 @@ const extensionCsv = ".csv";
|
|||
const filterRdf = "iCalendar RDF";
|
||||
const extensionRdf = ".rdf";
|
||||
|
||||
if( opener.gICalLib )
|
||||
if( opener && opener.gICalLib )
|
||||
gICalLib = opener.gICalLib;
|
||||
|
||||
// convert to and from Unicode for file i/o
|
||||
|
|
Загрузка…
Ссылка в новой задаче