rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
gFindBar.uninitFindBar();
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); try { gBrowser.remo...
if (window.opener && !window.opener.closed && window.opener.gFindBar) { if (window.opener.gFindBar.mFindMode == FIND_NORMAL) {
if (window.opener && !window.opener.closed) { if (window.opener.gFindBar && window.opener.gFindBar.mFindMode == FIND_NORMAL) {
function BrowserStartup(){ gBrowser = document.getElementById("content"); window.tryToClose = WindowIsClosing; var uriToLoad = null; // Check for window.arguments[0]. If present, use that for uriToLoad. if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0]) uriToLoad = window.argument...
if (window.opener.gFindBar && window.opener.gFindBar.mFindMode == FIND_NORMAL) { var openerFindBar = window.opener.document.getElementById("FindToolbar"); if (openerFindBar && !openerFindBar.hidden) gFindBar.openFindBar(); }
var openerFindBar = window.opener.gFindBar; if (openerFindBar && !openerFindBar.hidden && openerFindBar.findMode == gFindBar.FIND_NORMAL) gFindBar.open();
function BrowserStartup(){ gBrowser = document.getElementById("content"); window.tryToClose = WindowIsClosing; var uriToLoad = null; // Check for window.arguments[0]. If present, use that for uriToLoad. if ("arguments" in window && window.arguments[0]) uriToLoad = window.arguments[0]; gIsLoadingBlank = uriToLo...
function BrowserStop() { var stopBElem = document.getElementById("canStop"); if (!stopBElem) return; var canStop = stopBElem.getAttribute("disabled");
function BrowserStop() { var stopBElem = document.getElementById("canStop"); if (!stopBElem) { dump("Couldn't obtain handle to stop Broadcast element\n"); return; }
function BrowserStop() { // Get a handle to the "canStop" broadcast id var stopBElem = document.getElementById("canStop"); if (!stopBElem) return; var canStop = stopBElem.getAttribute("disabled"); var sb = document.getElementById("stop-button"); if (!sb) return; // If the stop button is currently disabled,...
var sb = document.getElementById("stop-button"); if (!sb) return; if ( sb.getAttribute("disabled") == "true") return;
var canStop = stopBElem.getAttribute("disabled"); var sb = document.getElementById("stop-button"); if (!sb) { dump("Could not obtain handle to stop button\n"); return; } if ((sb.getAttribute("disabled")) == "true") { return; } sb.setAttribute("disabled", "true"); var sm = document.getElementById("menuitem-stop")...
function BrowserStop() { // Get a handle to the "canStop" broadcast id var stopBElem = document.getElementById("canStop"); if (!stopBElem) return; var canStop = stopBElem.getAttribute("disabled"); var sb = document.getElementById("stop-button"); if (!sb) return; // If the stop button is currently disabled,...
sb.setAttribute("disabled", "true"); var sm = document.getElementById("menuitem-stop"); if( sm ) sm.setAttribute("disabled", "true"); if (appCore != null) appCore.stop(); }
if (appCore != null) { dump("Going to Stop\n"); appCore.stop(); } else { dump("BrowserAppCore has not been created!\n"); } }
function BrowserStop() { // Get a handle to the "canStop" broadcast id var stopBElem = document.getElementById("canStop"); if (!stopBElem) return; var canStop = stopBElem.getAttribute("disabled"); var sb = document.getElementById("stop-button"); if (!sb) return; // If the stop button is currently disabled,...
var url = getWebNavigation().currentURI.spec; gURLBar.value = url; SetPageProxyState("valid", null);
function BrowserToolbarChanged(){ gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"); gProxyDeck = document.getElementById("page-proxy-deck"); var homeButton = document.getElementById("home-button")...
window.XULBrowserWindow.init();
function BrowserToolbarChanged(){ gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"); gProxyDeck = document.getElementById("page-proxy-deck"); var homeButton = document.getElementById("home-button")...
gURLBarContainer = document.getElementById("urlbar-container");
function BrowserToolboxCustomizeDone(aToolboxChanged){#ifdef TOOLBAR_CUSTOMIZATION_SHEET document.getElementById("customizeToolbarSheetBox").hidden = true;#endif // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gURLBarContainer...
var bm = document.getElementById("bookmarks-menu"); if (bm) bm.controllers.appendController(BookmarksMenuController);
function BrowserToolboxCustomizeDone(aToolboxChanged){ // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"...
updateHomeTooltip();
gHomeButton.updateTooltip();
function BrowserToolboxCustomizeDone(aToolboxChanged){ // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"...
if(document.getElementById("toolbar-rss").collapsed && document.getElementById("command_ViewOptions").getAttribute("checked")=="true") {
if(document.getElementById("toolbar-rss").collapsed && document.getElementById("command_ViewRSS").getAttribute("checked")=="true") {
function BrowserViewRSS() { document.getElementById("toolbar-rss").collapsed=!document.getElementById("toolbar-rss").collapsed; if(document.getElementById("toolbar-rss").collapsed && document.getElementById("command_ViewOptions").getAttribute("checked")=="true") { document.getElementById("command_ViewRSS").setAttrib...
{ window.openDialog( "chrome: "_blank", "chrome,menubar,status,dialog=no,resizable", window.content.location, "view-source" ); }
{ dump("BrowserViewSource(); \n "); window.openDialog( "chrome: "_blank", "chrome,menubar,status,dialog=no,resizable", window.content.location, "view-source" ); }
function BrowserViewSource(){ window.openDialog( "chrome://navigator/content/", "_blank", "chrome,menubar,status,dialog=no,resizable", window.content.location, "view-source" );}
dump("BrowserViewSource(); \n ");
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCh...
dump("*** Current document charset: " + docCharset + "\n");
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCh...
"chrome,dialog=no",
"scrollbars,resizable,chrome,dialog=no",
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCh...
ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1; dump("List Type: "+ListType+" globalElement: "+globalElement+"\n");
ClearMenulist(dialog.BulletStyleList); var label;
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput.setAttribute("disabled", "true"); StartingNumberLabel.setAttribute("disabled", "true");
dialog.BulletStyleList.removeAttribute("disabled"); dialog.BulletStyleLabel.removeAttribute("disabled"); dialog.StartingNumberInput.setAttribute("disabled", "true"); dialog.StartingNumberLabel.setAttribute("disabled", "true"); dialog.StartExample.setAttribute("disabled", "true");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
AppendStringToMenulistById(BulletStyleList,"SolidCircle"); AppendStringToMenulistById(BulletStyleList,"OpenCircle"); AppendStringToMenulistById(BulletStyleList,"SolidSquare");
AppendStringToMenulistById(dialog.BulletStyleList,"SolidCircle"); AppendStringToMenulistById(dialog.BulletStyleList,"OpenCircle"); AppendStringToMenulistById(dialog.BulletStyleList,"SolidSquare");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleList.selectedIndex = BulletStyleIndex; ListTypeList.selectedIndex = 1;
dialog.BulletStyleList.selectedIndex = BulletStyleIndex; dialog.ListTypeList.selectedIndex = 1;
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput.removeAttribute("disabled"); StartingNumberLabel.removeAttribute("disabled");
dialog.BulletStyleList.removeAttribute("disabled"); dialog.BulletStyleLabel.removeAttribute("disabled"); dialog.StartingNumberInput.removeAttribute("disabled"); dialog.StartingNumberLabel.removeAttribute("disabled"); dialog.StartExample.removeAttribute("disabled");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
AppendStringToMenulistById(BulletStyleList,"Style_1"); AppendStringToMenulistById(BulletStyleList,"Style_I"); AppendStringToMenulistById(BulletStyleList,"Style_i"); AppendStringToMenulistById(BulletStyleList,"Style_A"); AppendStringToMenulistById(BulletStyleList,"Style_a");
AppendStringToMenulistById(dialog.BulletStyleList,"Style_1"); AppendStringToMenulistById(dialog.BulletStyleList,"Style_I"); AppendStringToMenulistById(dialog.BulletStyleList,"Style_i"); AppendStringToMenulistById(dialog.BulletStyleList,"Style_A"); AppendStringToMenulistById(dialog.BulletStyleList,"Style_a");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleList.selectedIndex = NumberStyleIndex; ListTypeList.selectedIndex = 2;
dialog.BulletStyleList.selectedIndex = NumberStyleIndex; dialog.ListTypeList.selectedIndex = 2;
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleList.setAttribute("disabled", "true"); BulletStyleLabel.setAttribute("disabled", "true"); StartingNumberInput.setAttribute("disabled", "true"); StartingNumberLabel.setAttribute("disabled", "true");
dialog.BulletStyleList.setAttribute("disabled", "true"); dialog.BulletStyleLabel.setAttribute("disabled", "true"); dialog.StartingNumberInput.setAttribute("disabled", "true"); dialog.StartingNumberLabel.setAttribute("disabled", "true");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
ListTypeList.selectedIndex = 3;
dialog.ListTypeList.selectedIndex = 3;
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
ListTypeList.selectedIndex = 0;
{ dialog.ListTypeList.selectedIndex = 1; dialog.ListTypeList.selectedIndex = 0; }
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
if (ListType == "") AdvancedEditButton.setAttribute("disabled","true");
if (ListType) dialog.AdvancedEditButton.removeAttribute("disabled");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
AdvancedEditButton.removeAttribute("disabled");
dialog.AdvancedEditButton.setAttribute("disabled","true");
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
BulletStyleLabel.setAttribute("value",label);
dialog.BulletStyleLabel.setAttribute("value",label);
function BuildBulletStyleList(){ ClearMenulist(BulletStyleList); var label = ""; var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n"); if (ListType == "ul") { BulletStyleList.removeAttribute("disabled"); BulletStyleLabel.removeAttribute("disabled"); StartingNumberInput...
gExtensionsView.selectedItem.getAttribute("blocklisted") == "true" ||
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
if (gDownloadsView.selected) { var idx = parseInt(gDownloadsView.selected.getAttribute("state"));
if (gDownloadsView.selectedItem) { var idx = parseInt(gDownloadsView.selectedItem.getAttribute("state"));
function buildContextMenu(aEvent){ if (aEvent.target.id != "downloadContextMenu") return false; var popup = document.getElementById("downloadContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); if (gDownloadsView.selected) { var idx = parseInt(gDownloadsView.selected.getA...
var selectedItem = gExtensionsView.selected;
var selectedItem = gExtensionsView.selectedItem;
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
if (gExtensionsView.selected.getAttribute("compatible") == "false" || gExtensionsView.selected.disabled)
if (gExtensionsView.selectedItem.getAttribute("compatible") == "false" || gExtensionsView.selectedItem.disabled)
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
if (aEvent.target.id != "extensionContextMenu")
var popup = document.getElementById("addonContextMenu"); var selectedItem = gExtensionsView.selectedItem; if (aEvent.target !== popup || !selectedItem)
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
var popup = document.getElementById("extensionContextMenu");
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
var isExtensions = gWindowState == "extensions";
switch (gView) { case "extensions": case "themes": case "locales": case "plugins": var menus = gAddonContextMenus; break; case "updates": menus = gUpdateContextMenus; break; case "installs": menus = gInstallContextMenus; break; }
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
var menus = isExtensions ? gExtensionContextMenus : gThemeContextMenus;
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
var extensionsStrings = document.getElementById("extensionsStrings");
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
var selectedItem = gExtensionsView.selectedItem;
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
menuitem_about.setAttribute("label", extensionsStrings.getFormattedString("aboutExtension", [name])); var canEnable = gExtensionsViewController.isCommandEnabled("cmd_cancelUninstall"); document.getElementById("menuitem_cancelUninstall_clone").hidden = !canEnable; document.getElementById("menuitem_uninstall_clone").hid...
menuitem_about.setAttribute("label", getExtensionString("aboutAddon", [name]));
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
if (isExtensions) {
if (gView != "updates" && gView != "installs") { var canEnable = gExtensionsViewController.isCommandEnabled("cmd_cancelUninstall"); document.getElementById("menuitem_cancelUninstall_clone").hidden = !canEnable; document.getElementById("menuitem_uninstall_clone").hidden = canEnable; } switch (gView) { case "extensions"...
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
} else {
document.getElementById("menuitem_useTheme_clone").hidden = true; break; case "themes":
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
if (gExtensionsView.selectedItem && (gExtensionsView.selectedItem.getAttribute("compatible") == "false" || gExtensionsView.selectedItem.getAttribute("blocklisted") == "true" || gExtensionsView.selectedItem.disabled))
if (!selectedItem.isCompatible || selectedItem.isBlocklisted || !selectedItem.satisfiesDependencies || selectedItem.isDisabled)
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
else {
else
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
}
document.getElementById("menuitem_options_clone").hidden = true; document.getElementById("menuitem_disable_clone").hidden = true; break; case "locales": case "plugins": canEnable = gExtensionsViewController.isCommandEnabled("cmd_reallyEnable"); document.getElementById("menuitem_enable_clone").hidden = !canEnable; docum...
function buildContextMenu(aEvent){ if (aEvent.target.id != "extensionContextMenu") return false; var popup = document.getElementById("extensionContextMenu"); while (popup.hasChildNodes()) popup.removeChild(popup.firstChild); var isExtensions = gWindowState == "extensions"; var menus = isExtensions ? gExt...
name = TrimString(nvpairs.split(":")[0]); value = TrimString(nvpairs.split(":")[1]); if ( !AddTreeItem( name, value, "CSSATree", CSSAttrs ) )
name = TrimString(style.split(":")[0]); value = TrimString(style.split(":")[1]); if ( !AddTreeItem( name, value, "CSSAList", CSSAttrs ) )
function BuildCSSAttributeTable(){ dump("populating CSS Attributes tree\n"); dump("elStyle: " + element.getAttribute("style") + "\n"); var style = element.getAttribute("style"); if(style == undefined || style == "") { dump("no style attributes to add\n"); return; } if(style.indexOf(";") == -1) { if(styl...
if( !AddTreeItem( name, value, "CSSATree", CSSAttrs ) )
if( !AddTreeItem( name, value, "CSSAList", CSSAttrs ) )
function BuildCSSAttributeTable(){ dump("populating CSS Attributes tree\n"); dump("elStyle: " + element.getAttribute("style") + "\n"); var style = element.getAttribute("style"); if(style == undefined || style == "") { dump("no style attributes to add\n"); return; } if(style.indexOf(";") == -1) { if(styl...
var Start = gAllEvents.length - 10;
var Start = gAllEvents.length - 6;
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { EventContainer.remov...
if( gAllEvents.length > 10 )
if( gAllEvents.length > 6 )
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { EventContainer.remov...
TooManyDesc.setAttribute( "value", "You have "+ (gAllEvents.length )+" total alarms. We've shown you the last 10. Click Acknowledge All to clear them all." );
tooManyDescValue = gCalendarBundle.getFormattedString("TooManyAlarmsMessage", [gAllEvents.length]); TooManyDesc.setAttribute( "value", tooManyDescValue );
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { EventContainer.remov...
var tooManyDescValue ;
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); var tooManyDescValue ; if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { ...
var TooManyDesc = document.getElementById( "too-many-alarms-description" );
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); var tooManyDescValue ; if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { ...
sizeToContent();
function buildEventBoxes(){ //remove all the old event boxes. var EventContainer = document.getElementById( "event-container-rows" ); var tooManyDescValue ; if( EventContainer ) { var NumberOfChildElements = EventContainer.childNodes.length; for( i = 0; i < NumberOfChildElements; i++ ) { ...
var label = gMessengerBundle.getString("updates_checkForUpdates");
function buildHelpMenu(){ var updates = Components.classes["@mozilla.org/updates/update-service;1"]. getService(Components.interfaces.nsIApplicationUpdateService); var um = Components.classes["@mozilla.org/updates/update-manager;1"]. getService(Components.interfaces.nsIUpdateManager); // Disa...
if (activeUpdate) { if (updates.isDownloading) { if (activeUpdate.name) label = gMessengerBundle.getFormattedString("updates_downloadingUpdates", [activeUpdate.name]); else label = gMessengerBundle.getString("updates_downloadingUpdatesFallback");
function getStringWithUpdateName(key) { if (activeUpdate && activeUpdate.name) return gMessengerBundle.getFormattedString(key, [activeUpdate.name]); return gMessengerBundle.getString(key + "Fallback");
function buildHelpMenu(){ var updates = Components.classes["@mozilla.org/updates/update-service;1"]. getService(Components.interfaces.nsIApplicationUpdateService); var um = Components.classes["@mozilla.org/updates/update-manager;1"]. getService(Components.interfaces.nsIUpdateManager); // Disa...
else { if (activeUpdate.name) label = gMessengerBundle.getFormattedString("updates_resumeDownloading", [activeUpdate.name]); else label = gMessengerBundle.getString("updates_resumeDownloadingFallback");
var key = "default"; if (activeUpdate) { switch (activeUpdate.state) { case "downloading": key = updates.isDownloading ? "downloading" : "resume"; break; case "pending": key = "pending"; break;
function buildHelpMenu(){ var updates = Components.classes["@mozilla.org/updates/update-service;1"]. getService(Components.interfaces.nsIApplicationUpdateService); var um = Components.classes["@mozilla.org/updates/update-manager;1"]. getService(Components.interfaces.nsIUpdateManager); // Disa...
checkForUpdates.label = label;
checkForUpdates.label = getStringWithUpdateName("updatesItem_" + key);
function buildHelpMenu(){ var updates = Components.classes["@mozilla.org/updates/update-service;1"]. getService(Components.interfaces.nsIApplicationUpdateService); var um = Components.classes["@mozilla.org/updates/update-manager;1"]. getService(Components.interfaces.nsIUpdateManager); // Disa...
name = name.replace(/[!^#%$_+]/g, "");
name = name.replace(/[!^#%$+]/g, "");
function BuildHTMLAttributeNameList(){ ClearMenulist(dialog.AddHTMLAttributeNameInput); var elementName = gElement.localName.toLowerCase(); var attNames = gHTMLAttr[elementName]; if (attNames && attNames.length) { var menuitem; for (var i = 0; i < attNames.length; i++) { var name = attNames[i]; ...
AddTreeItem( name, value, "JSEATree", JSEAttrs );
AddTreeItem( name, value, "JSEAList", JSEAttrs );
function BuildJSEAttributeTable(){ var nodeMap = element.attributes; if(nodeMap.length > 0) { for(var i = 0; i < nodeMap.length; i++) { if( !CheckAttributeNameSimilarity( nodeMap[i].nodeName, JSEAttrs ) ) continue; // repeated or non-JS handler, ignore this one and go to next if( !IsEventHand...
this.addTreeItem(aTreeChildren, prop, aObject[prop], aObject);
this.addTreeItem(aTreeChildren, propertyNames[i], aObject[propertyNames[i]], aObject);
buildPropertyTree: function(aTreeChildren, aObject) { for (var prop in aObject) { try { this.addTreeItem(aTreeChildren, prop, aObject[prop], aObject); } catch (ex) { // hide unsightly NOT YET IMPLEMENTED errors when accessing certain properties } } },
gPrefs.savePrefFile(null);
gPrefs.SavePrefFile();
function BuildRecentMenu(savePrefs){ // Can't do anything if no prefs if (!gPrefs) return; var popup = document.getElementById("menupopup_RecentFiles"); if (!popup || !window.editorShell || !window.editorShell.editorDocument) return; // Delete existing menu while (popup.firstChild) popup.removeChild(po...
for(i = 0; i < historyCount; i++)
for (var i = 0; i < historyCount; i++)
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
function BuildRecentMenu()
function BuildRecentMenu(savePrefs)
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
if (!popup) return;
if (!popup || !window.editorShell || !window.editorShell.editorDocument) return;
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
var curTitle = window.editorShell.editorDocument.title; var curUrl = window.editorShell.editorDocument.location; var newDoc = (curUrl == "about:blank");
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
var a=1; for (var i = 0; i < historyCount; i++)
if(!newDoc) { titleArray[0] = curTitle; urlArray[0] = curUrl; arrayIndex = 1; } for (i = 0; i < historyCount; i++)
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
if (url != window.editorShell.editorDocument.location) { AppendRecentMenuitem(a, popup, title, url); a++;
if (savePrefs && arrayIndex < historyCount) { titleArray[arrayIndex] = title; urlArray[arrayIndex] = url; arrayIndex++; }
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
if (savePrefs) { savePrefs = false; for (i = 0; i < historyCount; i++) { if (!urlArray[i]) break; setUnicharPref("editor.history_title_"+i, titleArray[i]); setUnicharPref("editor.history_url_"+i, urlArray[i]); savePrefs = true; } } if (savePrefs) gPrefs.SavePrefFile();
function BuildRecentMenu(){ // Populate the Recent Files Menu. // Can't do anything if we don't have any prefs if(!gPrefs) return; // Build the submenu var popup = document.getElementById("menupopup_RecentFiles"); if (!popup) return; // Delete existing menu while (popup.firstChild) popup.removeChild(popup.fi...
var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"].getService(Components.interfaces.nsIMsgTagService); var allTags = tagService.tagEnumerator; var allKeys = tagService.keyEnumerator; while (allTags.hasMore())
var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"] .getService(Components.interfaces.nsIMsgTagService); var tagArray = tagService.getAllTags({}); for (var i = 0; i < tagArray.length; ++i)
buildTagList: function() { var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"].getService(Components.interfaces.nsIMsgTagService); var allTags = tagService.tagEnumerator; var allKeys = tagService.keyEnumerator; while (allTags.hasMore()) { var key = allKeys.getNext(); t...
var key = allKeys.getNext(); this.appendTagItem(allTags.getNext(), key, tagService.getColorForKey(key));
var taginfo = tagArray[i]; this.appendTagItem(taginfo.tag, taginfo.key, taginfo.color);
buildTagList: function() { var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"].getService(Components.interfaces.nsIMsgTagService); var allTags = tagService.tagEnumerator; var allKeys = tagService.keyEnumerator; while (allTags.hasMore()) { var key = allKeys.getNext(); t...
popupChild = document.createElement("menuitem"); popupChild.setAttribute("type", "checkbox"); popupChild.setAttribute("value", columnName); if (columnName == "") { var display = currTreeCol.getAttribute("display"); popupChild.setAttribute("value", display);
if (currTreeCol.getAttribute("collapsed") != "true") { popupChild = document.createElement("menuitem"); popupChild.setAttribute("type", "checkbox"); popupChild.setAttribute("value", columnName); if (columnName == "") { var display = currTreeCol.getAttribute("display"); popupChild.setAttribute("value", display); } popup...
function BuildTreePopup( treeColGroup, treeHeadRow, popup, skipCell ){ var popupChild = popup.firstChild; var firstTime = !popupChild ? true : false; var currTreeCol = treeHeadRow.firstChild; var currColNode = treeColGroup.firstChild; while (currTreeCol) { if (currColNode.tagName == "splitter") currColNode...
popupChild.setAttribute("colid", currColNode.id); popupChild.setAttribute("oncommand", "ToggleColumnState(this, document)"); if ("true" != currColNode.getAttribute("hidden")) { popupChild.setAttribute("checked", "true"); } popup.appendChild(popupChild);
function BuildTreePopup( treeColGroup, treeHeadRow, popup, skipCell ){ var popupChild = popup.firstChild; var firstTime = !popupChild ? true : false; var currTreeCol = treeHeadRow.firstChild; var currColNode = treeColGroup.firstChild; while (currTreeCol) { if (currColNode.tagName == "splitter") currColNode...
var categoriesStringBundle = srGetStrBundle("chrome: if( getBoolPref(gCalendarWindow.calendarPreferences.calendarPref, "alarms.playsound", categoriesStringBundle.GetStringFromName("playAlarmSound" ) ) )
if( getBoolPref(gCalendarWindow.calendarPreferences.calendarPref, "alarms.playsound", gCalendarBundle.getString("playAlarmSound") ) )
CalendarAlarmObserver.prototype.fireAlarm = function calAlarm_fireAlarm( calendarEvent ){ dump( "Fire alarm "+ calendarEvent + "\n" ); if( typeof( gCalendarWindow ) == "undefined" ) { return; } var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties"); if( ...
var EmailBody = "Calendar Event Alarm Went Off!\n----------------------------\n"; EmailBody += "Title: "+calendarEvent.title + " at " + calendarEvent.start.toString() + "\n"; EmailBody += "This message sent to you from the Mozilla Calendar.\nhttp:
var EmailBody = gCalendarEmailBundle.getFormattedString("AlarmEmailBody", [calendarEvent.title, calendarEvent.start.toString()]); var EmailSubject = gCalendarEmailBundle.getFormattedString("AlarmEmailSubject", [calendarEvent.title]);
CalendarAlarmObserver.prototype.fireAlarm = function calAlarm_fireAlarm( calendarEvent ){ dump( "Fire alarm "+ calendarEvent + "\n" ); if( typeof( gCalendarWindow ) == "undefined" ) { return; } var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties"); if( ...
sendEmail( "Mozilla Calendar Alarm: "+calendarEvent.title, EmailBody, calendarEvent.alarmEmailAddress, null, null, null, null );
sendEmail( EmailSubject, EmailBody, calendarEvent.alarmEmailAddress, null, null, null, null );
CalendarAlarmObserver.prototype.fireAlarm = function calAlarm_fireAlarm( calendarEvent ){ dump( "Fire alarm "+ calendarEvent + "\n" ); if( typeof( gCalendarWindow ) == "undefined" ) { return; } var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties"); if( ...
if (aItem.alarmTime) this.alarmService.addAlarm(aItem, false);
if (aItem.alarmOffset) this.alarmService.addAlarm(aItem);
function calAlarmService() { this.wrappedJSObject = this; this.calendarObserver = { alarmService: this, onStartBatch: function() { }, onEndBatch: function() { }, onLoad: function() { }, onAddItem: function(aItem) { if (aItem.alarmTime) this.alarmService...
if (aNewItem.alarmTime) this.alarmService.addAlarm(aNewItem, false);
if (aNewItem.alarmOffset) this.alarmService.addAlarm(aNewItem);
function calAlarmService() { this.wrappedJSObject = this; this.calendarObserver = { alarmService: this, onStartBatch: function() { }, onEndBatch: function() { }, onLoad: function() { }, onAddItem: function(aItem) { if (aItem.alarmTime) this.alarmService...
this.mProperties = Components.classes["@mozilla.org/hash-property-bag;1"]. createInstance(Components.interfaces.nsIWritablePropertyBag);
function calAttendee() { this.wrappedJSObject = this;}
var bx = document.getElementById("bxPadding");
bx = document.getElementById("bxPadding");
calculateOutlines: function() { var computed = this.getSubjectComputedStyle(); var s = this.mZoomScale; // fill out the margin outline var mt = parseInt(computed.getPropertyCSSValue("margin-top").cssText) * s; var mr = parseInt(computed.getPropertyCSSValue("margin-right").cssText) * s; var mb =...
probeDate.jsDate = new Date(2002,3,4); try { var probeString = this.formatDateShort(probeDate);
probeDate.timezone = "UTC"; probeDate.year = 2002; probeDate.month = 3; probeDate.day = 5; try { var probeStringA = this.formatDateShort(probeDate);
function calDateTimeFormatter() { var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); this.mDateStringBundle = strBundleService.createBundle("chrome://calendar/locale/dateFormat.properties"); this.mDa...
longProbeString == probeString)
longProbeString == probeStringA)
function calDateTimeFormatter() { var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); this.mDateStringBundle = strBundleService.createBundle("chrome://calendar/locale/dateFormat.properties"); this.mDa...
var probeString = this.formatDateShort(probeDate);
function calDateTimeFormatter() { var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); this.mDateStringBundle = strBundleService.createBundle("chrome://calendar/locale/dateFormat.properties"); this.mDa...
for (var i=0; i<tempStyleSheets.length; i++)
for (i=0; i<tempStyleSheets.length; i++)
function calendarColorStyleRuleUpdate( ThisCalendarObject ){ var j = -1; // obtain calendar name from the Id containerName = ThisCalendarObject.Id.split(':')[2]; var tempStyleSheets = document.styleSheets; for (var i=0; i<tempStyleSheets.length; i++) { if (tempStyleSheets[i].href.match(/chrome.*\/sk...
for (var i=0; i < ruleList.length; i++)
for (i=0; i < ruleList.length; i++)
function calendarColorStyleRuleUpdate( ThisCalendarObject ){ var j = -1; // obtain calendar name from the Id containerName = ThisCalendarObject.Id.split(':')[2]; var tempStyleSheets = document.styleSheets; for (var i=0; i<tempStyleSheets.length; i++) { if (tempStyleSheets[i].href.match(/chrome.*\/sk...
if(applicationName == "Thunderbird") { document.getElementById( 'tasksMenuNavigator' ).setAttribute( "collapsed", "true" ); }
function calendarInit() { if(applicationName == "Thunderbird") { document.getElementById( 'tasksMenuNavigator' ).setAttribute( "collapsed", "true" ); } // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // th...
checkMail();
function calendarInit() { // get the calendar event data source // global calendar gEventSource = new CalendarEventDataSource( ); // get the Ical Library gICalLib = gEventSource.getICalLib(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow( gEventSource ); // set up...
if( window.arguments && window.arguments[0].url ) { var arrayForNames = window.arguments[0].url.split( "/" ); var CalendarNameWithExtension = arrayForNames[ arrayForNames.length - 1 ]; var CalendarName = CalendarNameWithExtension.replace( ".ics", "" ); gCalendarWindow.calendarManager.launchAddCalendarDialog( CalendarN...
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow( gEventSource ); //when you switch to a view, it ...
updateColors();
initCalendarManager();
function calendarInit() { // XXX remove this eventually gICalLib = new Object(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); //when you switch to a view, it takes care of refreshing the events, so that call is not needed. gCalendarWindow.currentView.switchTo( gCalen...
for (var i=0; i<document.styleSheets.length; i++)
var i; for (i=0; i<document.styleSheets.length; i++)
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // this suspends feedbacks to observers until all is settled gICalLib.batchMode = true; // set up the CalendarWindow instance ...
for(var i=0; i<list.length;i++) {
for(i=0; i<list.length;i++) {
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // this suspends feedbacks to observers until all is settled gICalLib.batchMode = true; // set up the CalendarWindow instance ...
gCalendarWindow.currentView.switchTo( gCalendarWindow.currentView );
function calendarInit() { // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); //when you switch to a view, it takes care of refreshing the events, so that call is not needed. gCalendarWindow.currentView.switchTo( gCalendarWindow.currentView ); // set up the checkboxes variables...
gOnlyWorkdayChecked = document.getElementById( "only-workday-checkbox-1" ).getAttribute("checked") ; gDisplayToDoInViewChecked = document.getElementById( "display-todo-inview-checkbox-1" ).getAttribute("checked") ;
if (document.getElementById("toggle_workdays_only").getAttribute("checked") == 'true') { var deck = document.getElementById("view-deck") for each (view in deck.childNodes) { view.workdaysOnly = true; } deck.selectedPanel.goToDay(deck.selectedPanel.selectedDay); } if (document.getElementById("toggle_tasks_in_view").ge...
function calendarInit() { // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); //when you switch to a view, it takes care of refreshing the events, so that call is not needed. gCalendarWindow.currentView.switchTo( gCalendarWindow.currentView ); // set up the checkboxes variables...
!= 'true') {
== 'true') {
function calendarInit() { // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); // Set up the checkbox variables. Do not use the typical change*() functions // because those will actually toggle the current value. if (document.getElementById("toggle_workdays_only").getAttribute("ch...
view.tasksInView = false;
view.tasksInView = true;
function calendarInit() { // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); // Set up the checkbox variables. Do not use the typical change*() functions // because those will actually toggle the current value. if (document.getElementById("toggle_workdays_only").getAttribute("ch...
var categoriesStringBundle = srGetStrBundle("chrome: var RefreshServers = getBoolPref(this.CalendarWindow.calendarPreferences.calendarPref, "servers.reloadonlaunch", categoriesStringBundle.GetStringFromName("reloadServersOnLaunch" ) );
var RefreshServers = getBoolPref(this.CalendarWindow.calendarPreferences.calendarPref, "servers.reloadonlaunch", gCalendarBundle.getString("reloadServersOnLaunch" ) );
function calendarManager( CalendarWindow ){ this.CalendarWindow = CalendarWindow; /* We need a Calendar directory in our profile directory */ var CalendarDirectory = new File( this.getProfileDirectory().path ); CalendarDirectory.append( "Calendar" ); /* make sure the calendar directory exists, create it if...
getCharPref( this.calendarPref, "timezone.default", calendarStringBundle.GetStringFromName("defaultzone"));
function calendarPreferences( CalendarWindow ){ window.calendarPrefObserver = new calendarPrefObserver( this ); this.calendarWindow = CalendarWindow; this.calendarPref = prefService.getBranch("calendar."); // preferences calendar node var calendarStringBundle = srGetStrBundle("chrome://calendar/locale/calend...
getCharPref( this.calendarPref, "categories.names", getDefaultCategories() );
GetUnicharPref( this.calendarPref, "categories.names", getDefaultCategories() );
function calendarPreferences( CalendarWindow ){ window.calendarPrefObserver = new calendarPrefObserver( this ); this.calendarWindow = CalendarWindow; this.calendarPref = prefService.getBranch("calendar."); // preferences calendar node var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/cale...
alert( "new location is "+newLocation ); var protocolChannel = get_destination_channel(newLocation, login, password);
var protocolChannel = get_destination_channel(newLocation, login, password);
function calendarPublish(aDataString, newLocation, login, password, contentType){ try { alert( "new location is "+newLocation ); var protocolChannel = get_destination_channel(newLocation, login, password); if (!protocolChannel) { dump("failed to get a destination channel\n"); return; } o...
var SearchTree = document.getElementById( "unifinder-search-results-listbox" );
if( gCalendarEventTreeClicked === false ) { var SearchTree = document.getElementById( "unifinder-search-results-listbox" );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { var SearchTree = document.getElementById( "unifinder-search-results-listbox" ); SearchTree.setAttribute( "suppressonselect", "true" ); Sear...
SearchTree.setAttribute( "suppressonselect", "true" ); SearchTree.treeBoxObject.selection.select( -1 );
SearchTree.treeBoxObject.selection.select( -1 ); if( EventSelectionArray.length > 0 ) { for( i = 0; i < EventSelectionArray.length; i++ ) { var SearchTreeItem = document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ); if( SearchTreeItem ) { var Index = SearchTree.contentView.getIndexOfItem( ...
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { var SearchTree = document.getElementById( "unifinder-search-results-listbox" ); SearchTree.setAttribute( "suppressonselect", "true" ); Sear...