rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var url = this.mLauncher.source.QueryInterface( Components.interfaces.nsIURL );
var url = this.mLauncher.source;
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
if ( url ) {
try { url = url.QueryInterface( Components.interfaces.nsIURL );
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
} else {
} catch (ex) {
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
fname = this.mLauncher.source.path;
fname = url.path;
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIHelperAppLauncher.saveToDisk ) {
if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIMIMEInfo.saveToDisk ) {
initDialog : function () { // "Always ask me" is always set (or else we wouldn't have got here!). document.getElementById( "alwaysAskMe" ).checked = true; // Pre-select the choice the user made last time. if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIHelperAppLauncher.saveToD...
if ( this.chosenApp ) {
var applicationDescription = this.appLauncher.MIMEInfo.applicationDescription; if (applicationDescription != "") document.getElementById( "appName" ).value = applicationDescription; else
initDialog : function () { // "Always ask me" is always set (or else we wouldn't have got here!). document.getElementById( "alwaysAskMe" ).checked = true; // Pre-select the choice the user made last time. if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIHelperAppLauncher.saveToD...
} else { document.getElementById( "appName" ).value = this.appLauncher.MIMEInfo.applicationDescription; }
initDialog : function () { // "Always ask me" is always set (or else we wouldn't have got here!). document.getElementById( "alwaysAskMe" ).checked = true; // Pre-select the choice the user made last time. if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIHelperAppLauncher.saveToD...
document.getElementById( "choseApp" ).setAttribute( "disabled", "true" );
document.getElementById( "chooseApp" ).setAttribute( "disabled", "true" );
initDialog : function () { // "Always ask me" is always set (or else we wouldn't have got here!). document.getElementById( "alwaysAskMe" ).checked = true; // Pre-select the choice the user made last time. if ( this.appLauncher.MIMEInfo.preferredAction != this.nsIHelperAppLauncher.saveToD...
this.dialogElement( "mode" ).focus();
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
var object = this; doSetOKCancel( function () { return object.onOK(); }, function () { return object.onCancel(); } );
initDialog : function () { // "Always ask me" is always set (or else we wouldn't have got here!). document.getElementById( "alwaysAskMe" ).checked = true; document.getElementById( "alwaysAskMe" ).setAttribute("disabled", "true"); // Pre-select the choice the user made last time. ...
var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { this.mLauncher.saveToDisk( null, false ); this.mDialog.dialog = null; this.mDialog.close(); return; }
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
this.dialogElement( "alwaysAskMe" ).checked = true; if ( this.debug ) { prompt.setAttribute( "onclick", "dialog.doDebug()" ); } var object = this; this.mDialog.doSetOKCancel( function () { return object.onOK(); }, function () { return object.onCancel(); } );
this.dialogElement( "alwaysAskMe" ).checked = this.mLauncher.MIMEInfo.alwaysAskBeforeHandling;
initDialog : function() { // Check if file is executable (in which case, we will go straight to // "save to disk"). var ignore1 = new Object; var ignore2 = new Object; var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 ); if ( tmpFile.isExecutable() ) { ...
var win = this.dialogElement( "unknownContentType" );
initDialog : function() { // Put file name in window title. var win = this.dialogElement( "unknownContentType" ); var suggestedFileName = this.mLauncher.suggestedFileName; // Some URIs do not implement nsIURL, so we can't just QI. var url = this.mLauncher.source; ...
win.document.title = this.mTitle;
this.mDialog.document.title = this.mTitle;
initDialog : function() { // Put file name in window title. var win = this.dialogElement( "unknownContentType" ); var suggestedFileName = this.mLauncher.suggestedFileName; // Some URIs do not implement nsIURL, so we can't just QI. var url = this.mLauncher.source; ...
dialog.pick = document.getElementById("dialog.pick"); dialog.save = document.getElementById("dialog.save"); dialog.cancel = document.getElementById("dialog.cancel");
bundle = srGetStrBundle("chrome: var pickApp = document.getElementById("Button2"); pickApp.setAttribute( "style", "display: inherit" ); pickApp.setAttribute( "value", bundle.GetStringFromName("pick") ); var save = document.getElementById("ok"); save.setAttribute( "value", bundle.GetStringFromName("save") ); doSetOKCan...
function initDialog() { // Create dialog object and initialize. dialog = new Object; dialog.contentType = document.getElementById("dialog.contentType"); dialog.more = document.getElementById("dialog.more"); dialog.pick = document.getElementById("dialog.pick"); dialog.save = docume...
dialog.destGroup = document.getElementById("destGroup"); dialog.fileRadio = document.getElementById("fileRadio"); dialog.printerRadio = document.getElementById("printerRadio");
function initDialog(){ dialog = new Object; dialog.propertiesButton = document.getElementById("properties"); dialog.descText = document.getElementById("descText"); dialog.destGroup = document.getElementById("destGroup"); dialog.fileRadio = document.getElementById("fileRadio"); dialog.printerRa...
dialog.fileInput = document.getElementById("fileInput"); dialog.fileLabel = document.getElementById("fileLabel");
dialog.fileCheck = document.getElementById("fileCheck");
function initDialog(){ dialog = new Object; dialog.propertiesButton = document.getElementById("properties"); dialog.descText = document.getElementById("descText"); dialog.destGroup = document.getElementById("destGroup"); dialog.fileRadio = document.getElementById("fileRadio"); dialog.printerRa...
dialog.chooseButton = document.getElementById("chooseFile");
function initDialog(){ dialog = new Object; dialog.propertiesButton = document.getElementById("properties"); dialog.descText = document.getElementById("descText"); dialog.destGroup = document.getElementById("destGroup"); dialog.fileRadio = document.getElementById("fileRadio"); dialog.printerRa...
dialog.reverseGroup = document.getElementById("reverseGroup"); dialog.firstRadio = document.getElementById("firstRadio"); dialog.lastRadio = document.getElementById("lastRadio");
function initDialog(){ dialog = new Object; dialog.cmdLabel = document.getElementById("cmdLabel"); dialog.reverseGroup = document.getElementById("reverseGroup"); dialog.firstRadio = document.getElementById("firstRadio"); dialog.lastRadio = document.getElementById("lastRadio"); dialog.colorGro...
var str = globalElement.getAttribute("src"); if (str) { dialog.srcInput.value = str; GetImageFromURL(); }
dialog.srcInput.value= globalElement.getAttribute("src"); GetImageFromURL();
function InitDialog(){ // Set the controls to the image's attributes var str = globalElement.getAttribute("src"); if (str) { dialog.srcInput.value = str; GetImageFromURL(); } str = globalElement.getAttribute("alt"); if (str) dialog.altTextInput.value = str; // setup the height and width widgets var wi...
str = globalElement.getAttribute("alt"); if (str) dialog.altTextInput.value = str;
dialog.altTextInput.value = globalElement.getAttribute("alt");
function InitDialog(){ // Set the controls to the image's attributes var str = globalElement.getAttribute("src"); if (str) { dialog.srcInput.value = str; GetImageFromURL(); } str = globalElement.getAttribute("alt"); if (str) dialog.altTextInput.value = str; // setup the height and width widgets var wi...
imageMap = GetImageMap(); globalMap = imageMap;
function InitDialog(){ // Set the controls to the image's attributes var str = globalElement.getAttribute("src"); if (str) { dialog.srcInput.value = str; GetImageFromURL(); } str = globalElement.getAttribute("alt"); if (str) dialog.altTextInput.value = str; // setup the height and width widgets var wi...
align = globalElement.getAttribute("align");
align = globalElement.getAttribute("align").toLowerCase();
function InitDialog(){ // Just to be confusing, "size" is used instead of height var height = globalElement.getAttribute("size"); if(!height) { dump("NO SIZE FOUND FOR HLINE"); height = 2; //Default value } // We will use "height" here and in UI dialog.heightInput.value = height; // Get the width attribute...
index = 1;
index = UL_TYPE_DISC;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 2;
index = UL_TYPE_CIRCLE;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 3;
index = UL_TYPE_SQUARE;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 1;
index = OL_TYPE_DECIMAL;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 2;
index = OL_TYPE_UPPER_ROMAN;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 3;
index = OL_TYPE_LOWER_ROMAN;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 4;
index = OL_TYPE_UPPER_ALPHA;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
index = 5;
index = OL_TYPE_LOWER_ALPHA;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
gDialog.StartingNumberInput.value = ConvertStartAttrToUserString(globalElement.getAttribute("start"), index);
if (globalElement) gDialog.StartingNumberInput.value = ConvertStartAttrToUserString(globalElement.getAttribute("start"), index);
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (gListElement) gListType = gListElement.nodeName.toLowerCase(); else gListType = ""; BuildBulletStyleList(); gDialog.StartingNumberInput.va...
if (globalCellElement) { var SelectionType = editorShell.GetSelectedCellsType(TableElement); dump("SelectionList.selectedIndex = "+dialog.SelectionList.selectedIndex+"\n"); switch (SelectionType) { case 2: dialog.SelectionList.selectedItem = dialog.SelectRowItem; break; case 3: dialog.SelectionList.selectedItem = dial...
InitCellPanel(SelectedCellsType);
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
gDialog.showLinkBorder.checked = gDialog.border.value != "0";
function InitDialog(){ InitImage();}
else if (halign == bottomStr)
else if (halign == rightStr)
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableWidthInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "width", "TableWidthUnits", gPercent); dialog.BorderWidthInput.value = globalTableElement.bor...
gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages");
gDialog.portrait = document.getElementById("portrait"); gDialog.landscape = document.getElementById("landscape"); gDialog.printBG = document.getElementById("printBG");
function initDialog(){ gDialog = new Object; gDialog.orientation = document.getElementById("orientation"); gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages"); gDialog.shrinkToFit = document.getElementById("shrinkToFit"); g...
gDialog.hLeftInput = document.getElementById("hLeftInput"); gDialog.hCenterInput = document.getElementById("hCenterInput"); gDialog.hRightInput = document.getElementById("hRightInput");
gDialog.hLeftOption = document.getElementById("hLeftOption"); gDialog.hCenterOption = document.getElementById("hCenterOption"); gDialog.hRightOption = document.getElementById("hRightOption");
function initDialog(){ gDialog = new Object; gDialog.orientation = document.getElementById("orientation"); gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages"); gDialog.shrinkToFit = document.getElementById("shrinkToFit"); g...
gDialog.fLeftInput = document.getElementById("fLeftInput"); gDialog.fCenterInput = document.getElementById("fCenterInput"); gDialog.fRightInput = document.getElementById("fRightInput");
gDialog.fLeftOption = document.getElementById("fLeftOption"); gDialog.fCenterOption = document.getElementById("fCenterOption"); gDialog.fRightOption = document.getElementById("fRightOption");
function initDialog(){ gDialog = new Object; gDialog.orientation = document.getElementById("orientation"); gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages"); gDialog.shrinkToFit = document.getElementById("shrinkToFit"); g...
gDialog.strings = new Array; gDialog.strings[ "marginUnits.inches" ] = document.getElementById("marginUnits.inches").childNodes[0].nodeValue; gDialog.strings[ "marginUnits.metric" ] = document.getElementById("marginUnits.metric").childNodes[0].nodeValue; gDialog.strings[ "customPrompt.title" ...
function initDialog(){ gDialog = new Object; gDialog.orientation = document.getElementById("orientation"); gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages"); gDialog.shrinkToFit = document.getElementById("shrinkToFit"); g...
hrefInput.value = anchorElement.getAttribute("href");
hrefInput.value = globalElement.getAttribute("href");
function InitDialog(){ hrefInput.value = anchorElement.getAttribute("href"); dump("Current HREF: "+hrefInput.value+"\n");}
str = imageElement.getAttribute("src");
str = globalElement.getAttribute("src");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
str = imageElement.getAttribute("alt");
str = globalElement.getAttribute("alt");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
dimvalue = imageElement.getAttribute("width");
dimvalue = globalElement.getAttribute("width");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
dimvalue = imageElement.getAttribute("height");
dimvalue = globalElement.getAttribute("height");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
var wdh = imageElement.getAttribute("width"); var hgt = imageElement.getAttribute("height");
var wdh = globalElement.getAttribute("width"); var hgt = globalElement.getAttribute("height");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
alignvalue = imageElement.getAttribute("align");
alignvalue = globalElement.getAttribute("align");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
sizevalue = imageElement.getAttribute("hspace");
sizevalue = globalElement.getAttribute("hspace");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
sizevalue = imageElement.getAttribute("vspace");
sizevalue = globalElement.getAttribute("vspace");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
sizevalue = imageElement.getAttribute("border");
sizevalue = globalElement.getAttribute("border");
function InitDialog() { // Set the controls to the image's attributes str = imageElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = imageElement...
TableCaptionElement = globalTableElement.caption; dump("Caption Element = "+TableCaptionElement+"\n");
TableCaptionElement = TableElement.caption;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits", gPercent); dialog.TableWidthInput.value = InitPixelOrPercentMe...
dialog = new Object;
gDialog = new Object;
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup");
gDialog.paperList = document.getElementById("paperList"); gDialog.paperGroup = document.getElementById("paperGroup");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.printBGImages = document.getElementById("printBGImages");
gDialog.orientation = document.getElementById("orientation"); gDialog.printBGColors = document.getElementById("printBGColors"); gDialog.printBGImages = document.getElementById("printBGImages");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.topInput = document.getElementById("topInput"); dialog.bottomInput = document.getElementById("bottomInput"); dialog.leftInput = document.getElementById("leftInput"); dialog.rightInput = document.getElementById("rightInput");
gDialog.topInput = document.getElementById("topInput"); gDialog.bottomInput = document.getElementById("bottomInput"); gDialog.leftInput = document.getElementById("leftInput"); gDialog.rightInput = document.getElementById("rightInput");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.hLeftInput = document.getElementById("hLeftInput"); dialog.hCenterInput = document.getElementById("hCenterInput"); dialog.hRightInput = document.getElementById("hRightInput");
gDialog.hLeftInput = document.getElementById("hLeftInput"); gDialog.hCenterInput = document.getElementById("hCenterInput"); gDialog.hRightInput = document.getElementById("hRightInput");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.fLeftInput = document.getElementById("fLeftInput"); dialog.fCenterInput = document.getElementById("fCenterInput"); dialog.fRightInput = document.getElementById("fRightInput");
gDialog.fLeftInput = document.getElementById("fLeftInput"); gDialog.fCenterInput = document.getElementById("fCenterInput"); gDialog.fRightInput = document.getElementById("fRightInput");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.scalingInput = document.getElementById("scalingInput");
gDialog.scalingInput = document.getElementById("scalingInput");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.enabled = false;
gDialog.enabled = false;
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.orientation = document.getElementById("orientation"); dialog.printBGColors = document.getElementById("printBGColors"); dialog.pr...
dialog.find = document.getElementById("ok");
dialog.find = document.documentElement.getButton("accept");
function initDialog(){ dialog = new Object; dialog.findKey = document.getElementById("dialog.findKey"); dialog.caseSensitive = document.getElementById("dialog.caseSensitive"); dialog.wrap = document.getElementById("dialog.wrap"); dialog.searchBackwards = document.getElementById("dialog.searchB...
dialog.print = document.getElementById("ok");
dialog.print = document.documentElement.getButton("accept");
function initDialog(){ dialog = new Object; dialog.findKey = document.getElementById("dialog.findKey"); dialog.caseSensitive = document.getElementById("dialog.caseSensitive"); dialog.wrap = document.getElementById("dialog.wrap"); dialog.searchBackwards = document.getElementById("dialog.searchB...
dialog.topInput = document.getElementById("topInput"); dialog.bottomInput = document.getElementById("bottomInput"); dialog.leftInput = document.getElementById("leftInput"); dialog.rightInput = document.getElementById("rightInput");
function initDialog(){ dialog = new Object; dialog.paperList = document.getElementById("paperList"); dialog.paperGroup = document.getElementById("paperGroup"); dialog.cmdLabel = document.getElementById("cmdLabel"); dialog.cmdInput = document.getElementById("cmdInput"); dialog.colorGroup...
if (GetHTMLOrCSSStyleValue(gTableCaptionElement, "align", "caption-side") == "bottom") gDialog.TableCaptionList.value = "bottom"; else gDialog.TableCaptionList.value = "top";
var align = GetHTMLOrCSSStyleValue(gTableCaptionElement, "align", "caption-side"); if (align != "bottom" && align != "left" && align != "right") align = "top"; gDialog.TableCaptionList.value = align;
function InitDialog(){// turn on extra1 to be "apply" var applyButton = document.documentElement.getButton("extra1"); if (applyButton) { applyButton.label = GetString("Apply"); applyButton.setAttribute("accesskey", GetString("ApplyAccessKey")); } // Get Table attributes gDialog.TableRowsInput.value = gRow...
dialog.TableHeightInput.value = InitPixelOrPercentCombobox(globalTableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentCombobox(globalTableElement, "width", "TableWidthUnits");
dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "width", "TableWidthUnits");
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentCombobox(globalTableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentCombobox(globalTableElemen...
dialog.CellHeightInput.value = InitPixelOrPercentCombobox(globalCellElement, "height", "CellHeightUnits"); dialog.CellWidthInput.value = InitPixelOrPercentCombobox(globalCellElement, "width", "CellWidthUnits");
dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits"); dialog.CellWidthInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "width", "CellWidthUnits");
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentCombobox(globalTableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentCombobox(globalTableElemen...
var applyButton = document.getElementById("Button3"); if (applyButton) { applyButton.label = GetString("Apply"); applyButton.removeAttribute("collapsed"); }
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableWidthInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "width", "TableWidthUnits", gPercent); dialog.BorderWidthInput.value = globalTableElement.bor...
document.getElementById("main-box").collapsed = false;
function initDialog(){ document.getElementById("main-box").collapsed = false; var mode = gToolbox.getAttribute("mode"); document.getElementById("modelist").value = mode; gToolboxIconSize = gToolbox.getAttribute("iconsize"); var smallIconsCheckbox = document.getElementById("smallicons"); if (mode == "text") s...
dialog.HeadSrcInput.value = editorShell.GetHeadContentsAsHTML();
function InitDialog(){ dialog.TitleInput.value = editorShell.GetDocumentTitle(); dialog.AuthorInput.value = authorElement.getAttribute("content"); dialog.DescriptionInput.value = descriptionElement.getAttribute("content");}
str = globalElement.getAttribute("src"); if ( str == "null" ) { str = "";
str = globalElement.getAttribute("src"); if (str) dialog.srcInput.value = str; str = globalElement.getAttribute("alt"); if (str) dialog.altTextInput.value = str; dialog.widthInput.value = InitPixelOrPercentCombobox(globalElement, "width", "widthUnitsSelect"); dialog.heightInput.value = InitPixelOrPercentCombobox(glo...
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
dialog.srcInput.value = str; str = globalElement.getAttribute("alt"); if ( str == "null" )
dump("Image Align="+align+"\n"); switch ( align )
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
str = ""; } dialog.altTextInput.value = str; dimvalue = globalElement.getAttribute("width"); if ( dimvalue == "null" ) { dimvalue = ""; } dialog.imagewidthInput.value = dimvalue; dimvalue = globalElement.getAttribute("height"); if ( dimvalue ==...
case "top": dialog.alignTypeSelect.selectedIndex = 0; break; case "center": dialog.alignTypeSelect.selectedIndex = 1; break; case "left": dialog.alignTypeSelect.selectedIndex = 3; break; case "right": dialog.alignTypeSelect.selectedIndex = 4; break; default: dialog.alignTypeSelect.selectedIndex = 2; break;
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
alignpopup = document.getElementById("image.alignType");
dump( "Image Align Select Index after setting="+dialog.alignTypeSelect.selectedIndex+"\n");
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
sizevalue = globalElement.getAttribute("hspace"); dialog.imagelrInput.value = sizevalue; sizevalue = globalElement.getAttribute("vspace"); dialog.imagetbInput.value = sizevalue; sizevalue = globalElement.getAtt...
imageTypeExtension = checkForImage();
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
imageTypeExtension = checkForImage(); wasEnableAll = !imageTypeExtension;
wasEnableAll = !imageTypeExtension;
function InitDialog() { // Set the controls to the image's attributes str = globalElement.getAttribute("src"); if ( str == "null" ) { str = ""; } dialog.srcInput.value = str; str = globalEleme...
dialog.paperGroup = document.getElementById("paperGroup"); dialog.a4Radio = document.getElementById("a4Radio"); dialog.a3Radio = document.getElementById("a3Radio"); dialog.letterRadio = document.getElementById("letterRadio"); dialog.legalRadio = document.getElementById("legalRadio"); dialo...
function initDialog(){ dialog = new Object; dialog.cmdLabel = document.getElementById("cmdLabel"); dialog.colorGroup = document.getElementById("colorGroup"); dialog.colorRadio = document.getElementById("colorRadio"); dialog.grayRadio = document.getElementById("grayRadio"); dialog.paperGroup...
if (type == "circle")
if (type == "disc")
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
index = 2;
index = 3;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
case "I":
case "1":
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
case "i":
case "I":
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
case "A":
case "i":
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
index = 4;
index = 5;
function InitDialog(){ // Note that if mixed, we we pay attention // only to the anchor node's list type // (i.e., don't confuse user with "mixed" designation) if (ListElement) ListType = ListElement.nodeName.toLowerCase(); else ListType = ""; BuildBulletStyleList(); dialog.StartingNumberInput.value =...
dialog.aslayedoutRadio = document.getElementById("aslayedoutRadio"); dialog.selectedframeRadio = document.getElementById("selectedframeRadio"); dialog.eachframesepRadio = document.getElementById("eachframesepRadio"); dialog.printrangeGroupLabel = document.getElementById("printrangeGroupLabel");
function initDialog(){ dialog = new Object; dialog.findKey = document.getElementById("dialog.findKey"); dialog.caseSensitive = document.getElementById("dialog.caseSensitive"); dialog.wrap = document.getElementById("dialog.wrap"); dialog.searchBackwards = document.getElementById("dialog.searchB...
nameInput.value = name;
nameInput.value = globalElement.getAttribute("name");
function InitDialog(){ nameInput.value = name;}
dialog.TableAlignSelect.selectedIndex = 1;
dialog.TableAlignList.selectedIndex = 1;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.TableAlignSelect.selectedIndex = 2;
dialog.TableAlignList.selectedIndex = 2;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.TableAlignSelect.selectedIndex = 0;
dialog.TableAlignList.selectedIndex = 0;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
captionElement = globalTableElement.caption; dump("Caption Element = "+captionElement+"\n");
TableCaptionElement = globalTableElement.caption; dump("Caption Element = "+TableCaptionElement+"\n");
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
if (captionElement)
if (TableCaptionElement)
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
if(captionElement.vAlign == "top")
if (TableCaptionElement.vAlign == "bottom") index = 2; else
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
else index = 2;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CaptionSelect.selectedIndex = index;
dialog.TableCaptionList.selectedIndex = index;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellVAlignSelect.selectedIndex = 0;
dialog.CellVAlignList.selectedIndex = 0;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellVAlignSelect.selectedIndex = 2;
dialog.CellVAlignList.selectedIndex = 2;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellVAlignSelect.selectedIndex = 1;
dialog.CellVAlignList.selectedIndex = 1;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellHAlignSelect.selectedIndex = 1;
dialog.CellHAlignList.selectedIndex = 1;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellHAlignSelect.selectedIndex = 2;
dialog.CellHAlignList.selectedIndex = 2;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellHAlignSelect.selectedIndex = 3;
dialog.CellHAlignList.selectedIndex = 3;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellHAlignSelect.selectedIndex = 4;
dialog.CellHAlignList.selectedIndex = 4;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
dialog.CellHAlignSelect.selectedIndex = 0;
dialog.CellHAlignList.selectedIndex = 0;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
CellIsHeader = (globalCellElement.nodeName == "TH"); dialog.HeaderCheck.checked = CellIsHeader; dialog.NoWrapCheck.checked = globalCellElement.noWrap;
dialog.CellStyleList.selectedIndex = (globalCellElement.nodeName == "TH") ? 1 : 0; dialog.TextWrapList.selectedIndex = globalCellElement.noWrap ? 1 : 0;
function InitDialog(){ // Get Table attributes dialog.TableRowsInput.value = rowCount; dialog.TableColumnsInput.value = colCount; dialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height", "TableHeightUnits"); dialog.TableWidthInput.value = InitPixelOrPercentMenulist(glo...
element = appCore.createElementWithDefaults(tagName);
element = editorShell.createElementWithDefaults(tagName);
function InitDialog() { // Get a single selected element of the desired type element = editorShell.GetSelectedElement(tagName); if (element) { // We found an element and don't need to insert one insertNew = false; dump("Found existing image\n"); } else { insertNew = true; // We don't have an element ...