Created
May 18, 2011 19:13
-
-
Save creativepsyco/979297 to your computer and use it in GitHub Desktop.
Thunderbird Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Check if the specified calendar is writable. This is the case when it is not | |
* marked readOnly, we are not offline, or we are offline and the calendar is | |
* local. | |
* | |
* @param aCalendar The calendar to check | |
* @return True if the calendar is writable | |
*/ | |
function isCalendarWritable(aCalendar) { | |
return (!aCalendar.getProperty("disabled") && | |
!aCalendar.readOnly && | |
(!getIOService().offline || | |
aCalendar.getProperty("requiresNetwork") === false)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In-Place Extension: /Users/msk/Desktop/moz/objdir-tb-release/mozilla/dist/Miramar.app/Contents/MacOS/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/content/calendar/calUtils.js | |
isCalen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment