rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
updateStyleSheetForCalendar(aCalendar);
if (!gCachedStyleSheet) { gCachedStyleSheet = getStyleSheet("chrome: } alert("1"+gCachedStyleSheet); updateStyleSheetForObject(aCalendar, gCachedStyleSheet);
function addCalendarToTree(aCalendar){ var boxobj = document.getElementById("calendarTree").treeBoxObject; // Special trick to compare interface pointers, since normal, == // comparison can fail due to javascript wrapping. var sip = Components.classes["@mozilla.org/supports-interface-pointer;1"] ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/50998de9c172972637ba79072828269c8c9d9c49/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js
boxobj.rowCountChanged(getCalendars().indexOf(aCalendar), 1);
boxobj.invalidate();
function addCalendarToTree(aCalendar){ var boxobj = document.getElementById("calendarTree").treeBoxObject; boxobj.rowCountChanged(getCalendars().indexOf(aCalendar), 1); updateStyleSheetForCalendar(aCalendar);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4bd65711728aefffd07c64f2d95564e1826ab1c2/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js
function addCalendarToTree(aCalendar){ var boxobj = document.getElementById("calendarTree").treeBoxObject; // XXXdmose in theory, we should be able to do something along the lines // // var calendarRow = getCalendars().indexOf(aCalendar); // boxobj.rowCountChanged(calendarRow, 1); // // Unfortunate...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4bdf4613a4594045ea71a387b7cb1b89f72d9caf/calendar-management.js/clean/calendar/lightning/content/calendar-management.js
jQuery.class.add(this,c);
jQuery.className.add(this,c);
addClass: function(c) { return this.each(function(){ jQuery.class.add(this,c); }); },
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/0fd3648d45be72bcfe76b95715b38dd5904b47da/jquery.js/clean/jquery/jquery.js
return this.each(function(){ if ($.hasWord(this,c)) return; this.className += ( this.className.length > 0 ? " " : "" ) + c; }); },
return this.each(function(){ $.class.add(this,c); }); },
addClass: function(c) { return this.each(function(){ if ($.hasWord(this,c)) return; this.className += ( this.className.length > 0 ? " " : "" ) + c; }); },
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
element = $(element); Element.removeClassName(element, className); element.className += ' ' + className;
if (!(element = $(element))) return; return Element.classNames(element).add(className);
addClassName: function(element, className) { element = $(element); Element.removeClassName(element, className); element.className += ' ' + className; },
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/buggy/tracks/public/javascripts/prototype.js
element = $(element); Element.removeClassName(element, className); element.className += ' ' + className;
if (!(element = $(element))) return; return Element.classNames(element).add(className);
addClassName: function(element, className) { element = $(element); Element.removeClassName(element, className); element.className += ' ' + className; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
element = $(element); Element.removeClassName(element, className); element.className += ' ' + className;
if (!(element = $(element))) return; return Element.classNames(element).add(className);
addClassName: function(element, className) { element = $(element); Element.removeClassName(element, className); element.className += ' ' + className; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
element = $(element); Element.removeClassName(element, className); element.className += ' ' + className;
if (!(element = $(element))) return; return Element.classNames(element).add(className);
addClassName: function(element, className) { element = $(element); Element.removeClassName(element, className); element.className += ' ' + className; },
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
add ("charset", "onInputCharset");
function addCommands(commandObject){ function add (name, func) { var usage = getMsg (name + "Usage"); var help = getMsg(name + "Help"); commandObject.add (name, func, usage, help); } add ("about", "onInputAbout"); add ("attach", "onInputAttach"); add ("away", "onInputAway"); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8effa93ca384a236d1abbe9a8e492681f94d30f6/commands.js/buggy/extensions/irc/xul/content/commands.js
function add (name, func, usage, help)
function add (name, func)
function addCommands(commandObject){ function add (name, func, usage, help) { var usage = getMsg (name + "Usage"); var help = getMsg(name + "Help"); commandObject.add (name, func, usage, help); } add ("attach", "onInputAttach"); add ("away", "onInputAway"); add ("cancel", "onI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/commands.js/clean/extensions/irc/xul/content/commands.js
add ("whowas", "onInputSimpleCommand");
function addCommands(commandObject){ function add (name, func, usage, help) { var usage = getMsg (name + "Usage"); var help = getMsg(name + "Help"); commandObject.add (name, func, usage, help); } add ("attach", "onInputAttach"); add ("away", "onInputAway"); add ("cancel", "onI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/commands.js/clean/extensions/irc/xul/content/commands.js
function addData(type, data) { xferable.addDataFlavor(type); xferable.setTransferData(type, self._wrapString(data), data.length * 2); }
function addData(type) { data.addDataForFlavour(type, self._wrapString(self.wrapNode(node, type))); }
function addData(type, data) { xferable.addDataFlavor(type); xferable.setTransferData(type, self._wrapString(data), data.length * 2); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/db839a9b4a72a6158a3776b269fa55a4c499c5fd/controller.js/clean/browser/components/places/content/controller.js
function addData(type, data) { xferable.addDataFlavor(type); xferable.setTransferData(type, self._wrapString(data), data.length * 2); }
function addData(type) { data.addDataForFlavour(type, PlacesUtils._wrapString(PlacesUtils.wrapNode(node, type))); }
function addData(type, data) { xferable.addDataFlavor(type); xferable.setTransferData(type, self._wrapString(data), data.length * 2); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0631137a21a33c77bbfe2eca812e525d0f2b5570/controller.js/clean/browser/components/places/content/controller.js
SetupMoveCopyMenus("messagePaneContext-copyMenu", accountManagerDataSource, folderDataSource); SetupMoveCopyMenus("messagePaneContext-moveMenu", accountManagerDataSource, folderDataSource);
function AddDataSources(){ accountManagerDataSource = accountManagerDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource); folderDataSource = folderDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource); //to move menu item SetupMoveCopyMenus('moveMenu', accountManagerDataSource, folderDataSource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/de4d3858192d559546ac5fc17b5a5d49a5124dd9/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js
if (commonDialogsService)
if (promptService)
function AddDomain(obj){ var DomainName; if (commonDialogsService) { var result = {value:0}; if (commonDialogsService.Prompt( window, obj.DlgTitle, obj.DlgMsg, null, result )) DomainName = result.value.replace(/ /g,""); } if (DomainName) { var objPrime; if (obj.id == "h...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d3733a74488d23b1c54ca4e48f0b8d8f459ca2e7/pref-formatting.js/buggy/mailnews/compose/prefs/resources/content/pref-formatting.js
if (commonDialogsService.Prompt(
if (promptService.Prompt(
function AddDomain(obj){ var DomainName; if (commonDialogsService) { var result = {value:0}; if (commonDialogsService.Prompt( window, obj.DlgTitle, obj.DlgMsg, null, result )) DomainName = result.value.replace(/ /g,""); } if (DomainName) { var objPrime; if (obj.id == "h...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d3733a74488d23b1c54ca4e48f0b8d8f459ca2e7/pref-formatting.js/buggy/mailnews/compose/prefs/resources/content/pref-formatting.js
"", 0,
function AddDomain(obj){ var DomainName; if (commonDialogsService) { var result = {value:0}; if (commonDialogsService.Prompt( window, obj.DlgTitle, obj.DlgMsg, null, result )) DomainName = result.value.replace(/ /g,""); } if (DomainName) { var objPrime; if (obj.id == "h...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d3733a74488d23b1c54ca4e48f0b8d8f459ca2e7/pref-formatting.js/buggy/mailnews/compose/prefs/resources/content/pref-formatting.js
fp.appendFilter("Certificate Files", "*.crt; *.cert; *.cer; *.pem; *.der");
fp.appendFilter(bundle.GetStringFromName("file_browse_Certificate_spec"), "*.crt; *.cert; *.cer; *.pem; *.der");
function addEmailCert(){ var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties"); var fp = Components.classes[nsFilePicker].createInstance(nsIFilePicker); fp.init(window, bundle.GetStringFromName("importEmailCertPrompt"), nsIFilePicker.modeOpen); fp.appendFilter("Certificate Files"...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/26fcd4cf0b94cd64d7a9543ca07ac2dce1f50620/certManager.js/buggy/security/manager/pki/resources/content/certManager.js
var text = prompt(bundle.GetStringFromName("EnterNewEntry"), "" );
var text = myPrompt (bundle.GetStringFromName("EnterNewEntry"), "", bundle.GetStringFromName("AddingTitle"));
function AddEntry0() { var i; var text = prompt(bundle.GetStringFromName("EnterNewEntry"), "" ); if (text == "") { return; } var crypt = Encrypt(text); if (crypt == "") { /* user failed to unlock the database */ return; } stringIndex = entries[schemas[FirstSelectedSchema()]+FirstSelectedEntry()]; if(s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/30c50b79f62c1b7d97f72bbdb305645d07114602/WalletEditor.js/buggy/extensions/wallet/editor/WalletEditor.js
if (this.events[type][fn]) return this; if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], false); } else { this.events[type][fn] = fn.bind(this); this.attachEvent('on'+type, this.events[type][fn]);
if (!this.events[type][fn]){ if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], false); } else { this.events[type][fn] = fn.bind(this); this.attachEvent('on'+type, this.events[type][fn]); }
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (this.events[type][fn]) return this; if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/af66a6919b8d36f1a1d048c31276da23a227b278/Element.js/buggy/Native/Element.js
this.events[type] = this.events[type] || {}; if (!this.events[type][fn]){
this.events[type] = this.events[type] || {keys: [], values: []}; if (!this.events[type].keys.test(fn)){ this.events[type].keys.push(fn);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (!this.events[type][fn]){ if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], fal...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/a2560b6edca4199bf8e5624a345f815890b122c2/Element.js/clean/Native/Element.js
this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], false);
this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, fn, false);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (!this.events[type][fn]){ if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], fal...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/a2560b6edca4199bf8e5624a345f815890b122c2/Element.js/clean/Native/Element.js
this.events[type][fn] = fn.bind(this); this.attachEvent('on'+type, this.events[type][fn]);
fn = fn.bind(this); this.attachEvent('on'+type, fn); this.events[type].values.push(fn);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (!this.events[type][fn]){ if (this.addEventListener){ this.events[type][fn] = fn; this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], fal...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/a2560b6edca4199bf8e5624a345f815890b122c2/Element.js/clean/Native/Element.js
this.events[type] = this.events[type] || {keys: [], values: []};
this.events[type] = this.events[type] || {'keys': [], 'values': []};
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {keys: [], values: []}; if (!this.events[type].keys.test(fn)){ this.events[type].keys.push(fn); if (this.addEventListener){ this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' ...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/8ac103886cf6d33ed267fc2e146d71159138c0d8/Element.js/clean/Native/Element.js
var realType = type; if (type == 'mousewheel' && !window.khtml) realType = 'DOMMouseScroll'; this.addEventListener(realType, this.events[type][fn], false);
this.addEventListener((type == 'mousewheel' && !window.khtml) ? 'DOMMouseScroll' : type, this.events[type][fn], false);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (this.events[type][fn]) return this; if (this.addEventListener){ this.events[type][fn] = fn; var realType = type; if (type == 'mousewheel' && !window.khtml) realType = 'DOMMouseScroll'; this.addEv...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/4da6686ebc01d47f45382bb6f6e0a15b68d1dc75/Element.js/clean/Native/Element.js
var binded = fn.bind(this); this.events[type][fn] = binded;
this.events[type][fn] = fn.bind(this);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {}; if (this.events[type][fn]) return this; if (this.addEventListener){ this.events[type][fn] = fn; var realType = type; if (type == 'mousewheel' && !window.khtml) realType = 'DOMMouseScroll'; this.addEv...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/4da6686ebc01d47f45382bb6f6e0a15b68d1dc75/Element.js/clean/Native/Element.js
if (this.attachEvent){
if (this.addEventListener){ this.addEventListener((type == 'mousewheel' && window.gecko) ? 'DOMMouseScroll' : type, fn, false); } else {
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {'keys': [], 'values': []}; if (!this.events[type].keys.test(fn)){ this.events[type].keys.push(fn); if (this.attachEvent){ fn = fn.bind(this); this.attachEvent('on'+type, fn); this.events[type].value...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/cbeb2299074b627337da4b152ee0ea223133f93b/Element.js/clean/Native/Element.js
} else { this.addEventListener((type == 'mousewheel' && window.gecko) ? 'DOMMouseScroll' : type, fn, false);
addEvent: function(type, fn){ this.events = this.events || {}; this.events[type] = this.events[type] || {'keys': [], 'values': []}; if (!this.events[type].keys.test(fn)){ this.events[type].keys.push(fn); if (this.attachEvent){ fn = fn.bind(this); this.attachEvent('on'+type, fn); this.events[type].value...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/cbeb2299074b627337da4b152ee0ea223133f93b/Element.js/clean/Native/Element.js
if (!source) return this; for (var type in source) this.addEvent(type, source[type]);
if (source){ for (var type in source) this.addEvent(type, source[type]); }
addEvents: function(source){ if (!source) return this; for (var type in source) this.addEvent(type, source[type]); return this; },
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/4da6686ebc01d47f45382bb6f6e0a15b68d1dc75/Element.js/clean/Native/Element.js
calendarEvent = calendarEventArray[i]
if( isEvent( calendarEventArray[i] ) ) { var calendarEvent = calendarEventArray[i];
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/importExport.js/buggy/calendar/resources/content/importExport.js
if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { calendarEvent.id = createUniqueID( );
if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { calendarEvent.id = createUniqueID( ); } if(calendarEvent.allDay != true) convertZuluToLocal( calendarEvent ); if( silent ) gICalLib.addEvent( calendarEvent, defaultServer.path ); else editNewEvent( calendarEvent ); } else if( isToDo( calendarEventArray[i] ) )...
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/importExport.js/buggy/calendar/resources/content/importExport.js
if(calendarEvent.allDay != true) convertZuluToLocal( calendarEvent ); if( silent ) gICalLib.addEvent( calendarEvent ); else editNewEvent( calendarEvent );
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/importExport.js/buggy/calendar/resources/content/importExport.js
calendarEvent = calendarEventArray[i]
if( isEvent( calendarEventArray[i] ) ) { var calendarEvent = calendarEventArray[i];
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/calendarImportExport.js/buggy/calendar/resources/content/calendarImportExport.js
if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { calendarEvent.id = createUniqueID( );
if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { calendarEvent.id = createUniqueID( ); } if(calendarEvent.allDay != true) convertZuluToLocal( calendarEvent ); if( silent ) gICalLib.addEvent( calendarEvent, defaultServer.path ); else editNewEvent( calendarEvent ); } else if( isToDo( calendarEventArray[i] ) )...
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/calendarImportExport.js/buggy/calendar/resources/content/calendarImportExport.js
if(calendarEvent.allDay != true) convertZuluToLocal( calendarEvent ); if( silent ) gICalLib.addEvent( calendarEvent ); else editNewEvent( calendarEvent );
function addEventsToCalendar( calendarEventArray, silent ){ for(var i = 0; i < calendarEventArray.length; i++) { calendarEvent = calendarEventArray[i] // Check if event with same ID already in Calendar. If so, import event with new ID. if( gICalLib.fetchEvent( calendarEvent.id ) != null ) { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/calendarImportExport.js/buggy/calendar/resources/content/calendarImportExport.js
var dateToAdd = getDateTimeFieldValue( "exception-dates-text" );
var dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
function addException( dateToAdd ){ if( !dateToAdd ) { //get the date from the date and time box. //returns a date object var dateToAdd = getDateTimeFieldValue( "exception-dates-text" ); } if( isAlreadyException( dateToAdd ) ) return; var DateLabel = formatDate( dateToAdd ); //add a r...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/eventDialog.js/buggy/calendar/resources/content/eventDialog.js
var dateToAdd = getDateTimeFieldValue( "exception-dates-text" );
var dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
function addException( dateToAdd ){ if( !dateToAdd ) { //get the date from the date and time box. //returns a date object var dateToAdd = getDateTimeFieldValue( "exception-dates-text" ); } if( isAlreadyException( dateToAdd ) ) return; var DateLabel = formatDate( dateToAdd ); //add a r...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEventDialog.js/buggy/calendar/resources/content/calendarEventDialog.js
var dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
function addException( dateToAdd ){ if( !dateToAdd ) { //get the date from the date and time box. //returns a date object var dateToAdd = document.getElementById( "exceptions-date-picker" ).value; } if( isAlreadyException( dateToAdd ) ) return; var DateLabel = formatDate( dateToAdd ); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad0f266172dd7cb61d69f9a042d490c6938ac694/toDoDialog.js/clean/calendar/resources/content/toDoDialog.js
var dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
dateToAdd = document.getElementById( "exceptions-date-picker" ).value;
function addException( dateToAdd ){ if( !dateToAdd ) { //get the date from the date and time box. //returns a date object var dateToAdd = document.getElementById( "exceptions-date-picker" ).value; } if( isAlreadyException( dateToAdd ) ) return; var DateLabel = formatDate( dateToAdd ); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/10a3489e96ace17cc6ecc1f80442d0bb5d77bf82/eventDialog.js/buggy/calendar/resources/content/eventDialog.js
addFeed: function(aFeedLocation, aRootFolderURI) { var userAddedFeed = false; var defaultQuickMode = this.mRSSServer.getBoolAttribute('quickMode'); var feedProperties = { feedName: "", feedLocation: aFeedLocation, serverURI: this.mRSSServer.serverURI, s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4ee7fb68bd209331d0a6c13788113dccc4b38603/feed-subscriptions.js/buggy/mail/extensions/newsblog/content/feed-subscriptions.js
return;
return;
addFeed: function(aFeedLocation, aRootFolderURI) { var userAddedFeed = false; var defaultQuickMode = this.mRSSServer.getBoolAttribute('quickMode'); var feedProperties = { feedName: "", feedLocation: aFeedLocation, serverURI: this.mRSSServer.serverURI, s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4ee7fb68bd209331d0a6c13788113dccc4b38603/feed-subscriptions.js/buggy/mail/extensions/newsblog/content/feed-subscriptions.js
var itemResource = rdf.GetResource(feedProperties.feedLocation); feed = new Feed(itemResource); if (feedProperties.folderURI) { var folderResource = rdf.GetResource(feedProperties.folderURI); if (folderResource) { var folder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder); if (folder && !folder.is...
addFeed: function(aFeedLocation, aRootFolderURI) { var userAddedFeed = false; var defaultQuickMode = this.mRSSServer.getBoolAttribute('quickMode'); var feedProperties = { feedName: "", feedLocation: aFeedLocation, serverURI: this.mRSSServer.serverURI, s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4ee7fb68bd209331d0a6c13788113dccc4b38603/feed-subscriptions.js/buggy/mail/extensions/newsblog/content/feed-subscriptions.js
addFeed: function(aFeedLocation, aRootFolderURI) { var userAddedFeed = false; var defaultQuickMode = this.mRSSServer.getBoolAttribute('quickMode'); var feedProperties = { feedName: "", feedLocation: aFeedLocation, serverURI: this.mRSSServer.serverURI, s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4ee7fb68bd209331d0a6c13788113dccc4b38603/feed-subscriptions.js/buggy/mail/extensions/newsblog/content/feed-subscriptions.js
function addFeed(url, title, quickMode, destFolder) {
function addFeed(url, title, destFolder) {
function addFeed(url, title, quickMode, destFolder) { var ds = getSubscriptionsDS(destFolder.server); var feeds = getSubscriptionsList(destFolder.server); // Give quickMode a default value of "true"; otherwise convert value // to either "true" or "false" string. quickMode = quickMode == null ? "false" : ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c45986352b1a6178e3926008c5d50db5f7341f24/utils.js/clean/mail/extensions/newsblog/content/utils.js
quickMode = quickMode == null ? "false" : quickMode ? "true" : "false";
function addFeed(url, title, quickMode, destFolder) { var ds = getSubscriptionsDS(destFolder.server); var feeds = getSubscriptionsList(destFolder.server); // Give quickMode a default value of "true"; otherwise convert value // to either "true" or "false" string. quickMode = quickMode == null ? "false" : ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c45986352b1a6178e3926008c5d50db5f7341f24/utils.js/clean/mail/extensions/newsblog/content/utils.js
ds.Assert(id, FZ_QUICKMODE, rdf.GetLiteral(quickMode), true);
function addFeed(url, title, quickMode, destFolder) { var ds = getSubscriptionsDS(destFolder.server); var feeds = getSubscriptionsList(destFolder.server); // Give quickMode a default value of "true"; otherwise convert value // to either "true" or "false" string. quickMode = quickMode == null ? "false" : ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c45986352b1a6178e3926008c5d50db5f7341f24/utils.js/clean/mail/extensions/newsblog/content/utils.js
function addHint(elems) { var elem; var i = 0;
addHint : function(elems) { var elem; var i = 0;
function addHint(elems){ var elem; var i = 0; processElements: while(elem = elems.item(i++)) { var accessKey = elem.getAttributeNode("accesskey"); if (!accessKey || !accessKey.value) continue processElements; var title = elem.getAttributeNode("title"); if (title && title.value) { var overr...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/c18db17054056929fa45b69b71f9b2947d0b704d/accesskey-hints.js/clean/tracks/public/javascripts/accesskey-hints.js
processElements: while(elem = elems.item(i++)) { var accessKey = elem.getAttributeNode("accesskey"); if (!accessKey || !accessKey.value) continue processElements;
processElements: while(elem = elems.item(i++)) { var accessKey = elem.getAttributeNode("accesskey"); if (!accessKey || !accessKey.value) continue processElements;
function addHint(elems){ var elem; var i = 0; processElements: while(elem = elems.item(i++)) { var accessKey = elem.getAttributeNode("accesskey"); if (!accessKey || !accessKey.value) continue processElements; var title = elem.getAttributeNode("title"); if (title && title.value) { var overr...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/c18db17054056929fa45b69b71f9b2947d0b704d/accesskey-hints.js/clean/tracks/public/javascripts/accesskey-hints.js
var title = elem.getAttributeNode("title"); if (title && title.value) { var overrides = new Array('accesskey','alt+','ctrl+'); for (var j=0; j < overrides.length; j++) { if (title.value.toLowerCase().indexOf(overrides[j]) != -1) continue processElements; } elem.setAttribute("title", title.value + ' (' + getHintText(acc...
var title = elem.getAttributeNode("title"); if (title && title.value) { var overrides = new Array('accesskey','alt+','ctrl+'); for (var j=0; j < overrides.length; j++) { if (title.value.toLowerCase().indexOf(overrides[j]) != -1) continue processElements; } elem.setAttribute("title", title.value + ' (' + this.getHintTex...
function addHint(elems){ var elem; var i = 0; processElements: while(elem = elems.item(i++)) { var accessKey = elem.getAttributeNode("accesskey"); if (!accessKey || !accessKey.value) continue processElements; var title = elem.getAttributeNode("title"); if (title && title.value) { var overr...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/c18db17054056929fa45b69b71f9b2947d0b704d/accesskey-hints.js/clean/tracks/public/javascripts/accesskey-hints.js
function addHistory (source, obj)
function addHistory (source, obj, mergeData, collapseRow)
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
if (!source.messages)
if (!("messages" in source) || source.messages == null)
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
if (0) /*XXX*/ { tbody = document.createElementNS ("http: "html:tbody"); source.messages.appendChild (tbody); } else { tbody = source.messages; }
tbody = document.createElementNS ("http: "html:tbody"); source.messages.appendChild (tbody);
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
if (0) /*XXX*/ { tbody = source.messages.firstChild; } else { tbody = source.messages; }
{ tbody = source.messages.firstChild; }
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
tbody.appendChild (obj);
if (obj) tbody.appendChild (obj);
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
if (needScroll && client.currentObject == source) w.scrollTo (w.pageXOffset, w.document.height);
if ("currentObject" in client && client.currentObject == source && needScroll) { scrollDown(); setTimeout ("scrollDown()", 500); setTimeout ("scrollDown()", 1000); setTimeout ("scrollDown()", 2000); }
function addHistory (source, obj){ var tbody; if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "msg-table"); source.messages.setAttri...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/clean/extensions/irc/xul/content/static.js
source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding", "0"); source.messages.setAttribute ("cellspacing", "0"); source.messages.setAttribute ("type", source.TYPE); source.messages.setAttribute ("width", "100%"); switch (source.TYPE) { case "IRCChanUser": case "IRCUser": sourc...
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
case "IRCNetwork": case "IRCChannel": case "IRCClient": source.messages.setAttribute ("name", source.name); break; default: dd ("** 'source' has INVALID TYPE in addHistory **"); break; }
source.messages.setAttribute ("class", "msg-table"); source.messages.setAttribute ("view-type", source.TYPE); tbody = document.createElementNS ("http: "html:tbody"); source.messages.appendChild (tbody);
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
source.messages.appendChild (obj);
tbody.appendChild (obj);
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
source.messages.insertBefore (obj, source.messages.firstChild);
tbody.insertBefore (obj, source.messages.firstChild);
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
source.messages.removeChild (source.messages.firstChild);
tbody.removeChild (tbody.firstChild);
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
source.messages.removeChild (source.messages.lastChild);
tbody.removeChild (tbody.lastChild);
function addHistory (source, obj){ if (!source.messages) { source.messages = document.createElementNS ("http://www.w3.org/1999/xhtml", "html:table"); source.messages.setAttribute ("class", "chat-view"); source.messages.setAttribute ("cellpadding...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/static.js/buggy/extensions/irc/xul/content/static.js
aItem.id = "uuid:" + (new Date()).getTime();
addItem: function (aItem, aListener) { if (aItem.id == null) { // is this an error? Or should we generate an IID? } if (this.mItems[aItem.id] != null) { // is this an error? if (aListener) aListener.onOperationComplete (Components.results.NS_ERRO...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3ed5153e77d21e9a1d4b8c6e12e1eb27561e61fc/calStorageCalendar.js/buggy/calendar/providers/storage/calStorageCalendar.js
aItem.id = "uuid:" + (new Date()).getTime();
addItem: function (aItem, aListener) { if (aItem.id == null) { // is this an error? Or should we generate an IID? } if (this.mItems[aItem.id] != null) { // is this an error? if (aListener) aListener.onOperationComplete (Components.results.NS_ERRO...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3ed5153e77d21e9a1d4b8c6e12e1eb27561e61fc/calMemoryCalendar.js/clean/calendar/providers/memory/calMemoryCalendar.js
cell.setAttribute("align","left");
cell.setAttribute("rowMigrate", aProfileObject.mMigrated );
function AddItem( aChildren, aProfileObject ){ var kids = document.getElementById(aChildren); var item = document.createElement("treeitem"); var row = document.createElement("treerow"); var cell = document.createElement("treecell"); cell.setAttribute("value", aProfileObject.mName ); cell.setAttribute...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0f964252d4129cff04ef3646c9a18f5913372220/profileSelection.js/clean/profile/resources/content/profileSelection.js
item.setAttribute("rowMigrate", aProfileObject.mMigrated );
function AddItem( aChildren, aProfileObject ){ var kids = document.getElementById(aChildren); var item = document.createElement("treeitem"); var row = document.createElement("treerow"); var cell = document.createElement("treecell"); cell.setAttribute("value", aProfileObject.mName ); cell.setAttribute...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0f964252d4129cff04ef3646c9a18f5913372220/profileSelection.js/clean/profile/resources/content/profileSelection.js
#ifndef MOZ_PLACES
#ifndef MOZ_PLACES_BOOKMARKS
function AddKeywordForSearchField(){ var node = document.popupNode; var docURI = makeURI(node.ownerDocument.URL, node.ownerDocument.characterSet); var formURI = makeURI(node.form.getAttribute("action"), node.ownerDocument.characterSet, docURI); var...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/519037fe9d46d908df501956e8668f0c5a80b0f9/browser.js/clean/browser/base/content/browser.js
this.findDocuments(aKids[i].contentDocument, aArray);
addKidsToArray: function(aKids, aArray) { for (var i = 0; i < aKids.length; ++i) { try { aArray.push(aKids[i].contentDocument); } catch (ex) { // if we can't access the content document, skip it } } },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a353bff199b15fbc5c976aadb3b17e618c946ae5/dom.js/buggy/extensions/inspector/resources/content/viewers/dom/dom.js
if (preference.value.indexOf(selectedID) >= 0) return;
var arrayOfPrefs = preference.value.split(/\s*,\s*/); for (var i = 0; i < arrayOfPrefs.length; ++i ){ if (arrayOfPrefs[i] == selectedID) return; }
addLanguage: function () { var selectedID = this._availableLanguages.selectedItem.id; var preference = document.getElementById("intl.accept_languages"); if (preference.value.indexOf(selectedID) >= 0) return; this._selectedItemID = selectedID; if (preference.value == "") preference...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e440bea2f96c3da1f91a858304e36ee355f75e5f/languages.js/buggy/browser/components/preferences/languages.js
SelectLanguage();
function AddLanguage() { //cludge: make pref string available from the popup document.getElementById('intlAcceptLanguages').value = pref_string; window.openDialog("chrome://communicator/content/pref/pref-languages-add.xul","","modal=yes,chrome,resizable=yes", "addlangwindow"); UpdateSavePrefString();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a7e8e21624e4ceaf2f511751774da35febfc44eb/pref-languages.js/clean/xpfe/components/prefwindow/resources/content/pref-languages.js
SimileAjax.History._listeners.push(listener);
SimileAjax.History._listeners.add(listener);
SimileAjax.History.addListener = function(listener) { SimileAjax.History.initialize(); SimileAjax.History._listeners.push(listener);};
6194 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6194/ad43220ac38569f1b1e9c78f3783829b1f665216/history.js/clean/src/webapp/api/scripts/history.js
MessageComposeOfflineStateChanged(ioService.offline);
MessageComposeOfflineStateChanged(isOffline);
function AddMessageComposeOfflineObserver(){ var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); observerService.AddObserver(messageComposeOfflineObserver, "network:offline-status-changed"); // set the initial state of the send button M...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/65b7b1bd5c283ee3988a94203fb1163b712a6bb8/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js
if (existingToolbar) {
if (existingToolbar || !name.value) {
function addNewToolbar(){ var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); var stringBundle = document.getElementById("stringBundle"); var message = stringBundle.getString("enterToolbarName"); var ti...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/89819f854f6cf475939d069cb79628e5fe73caf6/customizeToolbar.js/buggy/toolkit/content/customizeToolbar.js
toggleElem.onclick = function() {return false;};
addNextActionListingToggles: function() { this.contextCollapseCookieManager = new CookieManager(); var toggleElems = document.getElementsByClassName('container_toggle'); toggleElems.each(function(toggleElem){ Event.observe(toggleElem, 'click', todoItems.toggleNextActionListing); containerElem = to...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9c7e96e2d3a3c55552e5a5db3ee152e0db81d2b9/todo-items.js/buggy/tracks/public/javascripts/todo-items.js
"chrome,resizeable=no",
"chrome,titlebar,resizeable=no",
function AddNodeToAddressBook (emailAddressNode){ if (emailAddressNode) { var primaryEmail = emailAddressNode.getAttribute("emailAddress"); var displayName = emailAddressNode.getAttribute("displayName"); window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul", "", "chrome,re...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/36612d651493fe23e92f319fedcbc76de527bc3e/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js
select.add(new Option("---", "---", false, false), null);
if (select.className == 'select_product') { select.add(new Option("-Product-", "---", false, false), null); } else if (select.className == 'select_testgroup') { select.add(new Option("-Testgroup-", "---", false, false), null); } else if (select.className == 'select_subgroup') { select.add(new Option("-Subgroup-", "...
function addNullEntry(select) { // add a blank entry to the current select: select.add(new Option("---", "---", false, false), null);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a169403b92ac8105ff8f64ec82fedea83a086289/SelectBoxes.js/clean/webtools/litmus/js/SelectBoxes.js
addObserver: function(aDomain, aFunction)
addObserver: function addObserver(aDomain, aFunction)
addObserver: function(aDomain, aFunction) { if (!this.mPrefs) this.init(); var pbi = XPCU.QI(this.mPrefs, "nsIPrefBranchInternal"); if (pbi) pbi.addObserver(aDomain, aFunction, false); },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f72d2b7f36d9d7bbb6c4161b5eba6b9806b00c03/PrefUtils.js/buggy/extensions/inspector/resources/content/jsutil/system/PrefUtils.js
var pbi = XPCU.QI(this.mPrefs, "nsIPrefBranchInternal");
var pbi = XPCU.QI(this.mPrefs, "nsIPrefBranch2");
addObserver: function(aDomain, aFunction) { if (!this.mPrefs) this.init(); var pbi = XPCU.QI(this.mPrefs, "nsIPrefBranchInternal"); if (pbi) pbi.addObserver(aDomain, aFunction, false); },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f72d2b7f36d9d7bbb6c4161b5eba6b9806b00c03/PrefUtils.js/buggy/extensions/inspector/resources/content/jsutil/system/PrefUtils.js
dump("Adding "+service.Value+"\n");
debug("Adding "+service.Value);
function addOption(registry, service, selectIt){ dump("Adding "+service.Value+"\n"); var option_title = getAttr(registry, service, 'title'); var option_customize = getAttr(registry, service, 'customize'); var option_content = getAttr(registry, service, 'content'); var tree = document.getElementById('selected...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1a32cc1c526c53fd9e341d35b5639757bb33402a/customize.js/buggy/suite/common/sidebar/customize.js
dump("Selecting new item\n");
debug("Selecting new item");
function addOption(registry, service, selectIt){ dump("Adding "+service.Value+"\n"); var option_title = getAttr(registry, service, 'title'); var option_customize = getAttr(registry, service, 'customize'); var option_content = getAttr(registry, service, 'content'); var tree = document.getElementById('selected...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1a32cc1c526c53fd9e341d35b5639757bb33402a/customize.js/buggy/suite/common/sidebar/customize.js
dump("Adding "+service.Value+"\n");
debug("Adding "+service.Value);
function addOption(registry, service, selectIt){ dump("Adding "+service.Value+"\n"); var option_title = getAttr(registry, service, 'title'); var option_customize = getAttr(registry, service, 'customize'); var option_content = getAttr(registry, service, 'content'); var tree = document.getElementById('selected...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1a32cc1c526c53fd9e341d35b5639757bb33402a/customize.js/buggy/xpfe/components/sidebar/resources/customize.js
dump("Selecting new item\n");
debug("Selecting new item");
function addOption(registry, service, selectIt){ dump("Adding "+service.Value+"\n"); var option_title = getAttr(registry, service, 'title'); var option_customize = getAttr(registry, service, 'customize'); var option_content = getAttr(registry, service, 'content'); var tree = document.getElementById('selected...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1a32cc1c526c53fd9e341d35b5639757bb33402a/customize.js/buggy/xpfe/components/sidebar/resources/customize.js
if (arguments[2]) {
if (typeof data[prop] == "function") { text = null; value = null; } else if (arguments[2]) {
DWRUtil.addOptions = function(ele, data) { var orig = ele; ele = $(ele); if (ele == null) { DWRUtil.debug("addOptions() can't find an element with id: " + orig + "."); return; } var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions &&...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/6a0ca38aeb11ee4d0a2f8acdaaec1dd5d710425e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
DWRUtil.addOptions = function(ele, data) { var orig = ele; ele = $(ele); if (ele == null) { DWRUtil.debug("addOptions() can't find an element with id: " + orig + "."); return; } var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions &&...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/6a0ca38aeb11ee4d0a2f8acdaaec1dd5d710425e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
else {
else if (arguments[3] != null) { for (var prop in data) { if (!useOptions) { alert("DWRUtil.addOptions can only create select lists from objects."); return; } value = DWRUtil._getValueFrom(data[prop], arguments[2]); text = DWRUtil._getValueFrom(data[prop], arguments[3]); if (text || value) { opt = new Option(text, valu...
DWRUtil.addOptions = function(ele, data) { var orig = ele; ele = $(ele); if (ele == null) { DWRUtil.debug("addOptions() can't find an element with id: " + orig + "."); return; } var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions &&...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/26ebc3edd985f531f81a55defc0828b7fc42f6f8/util.js/clean/java/uk/ltd/getahead/dwr/util.js
DWRUtil.addOptions = function(ele, data) { var orig = ele; ele = $(ele); if (ele == null) { DWRUtil.debug("addOptions() can't find an element with id: " + orig + "."); return; } var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions &&...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/26ebc3edd985f531f81a55defc0828b7fc42f6f8/util.js/clean/java/uk/ltd/getahead/dwr/util.js
dwr.util.addOptions = function(ele, data, options) {
dwr.util.addOptions = function(ele, data/*, options*/) {
dwr.util.addOptions = function(ele, data, options) { ele = dwr.util._getElementById(ele, "addOptions()"); if (ele == null) return; if (options == null) options = {}; var useOptions = dwr.util._isHTMLElement(ele, "select"); var useLi = dwr.util._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { dwr...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/44933462504ef64d0d87af65a9086f71301913de/util.js/clean/java/org/directwebremoting/util.js
if (options == null) options = {};
dwr.util.addOptions = function(ele, data, options) { ele = dwr.util._getElementById(ele, "addOptions()"); if (ele == null) return; if (options == null) options = {}; var useOptions = dwr.util._isHTMLElement(ele, "select"); var useLi = dwr.util._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { dwr...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/44933462504ef64d0d87af65a9086f71301913de/util.js/clean/java/org/directwebremoting/util.js
dwr.util.highlight(ele, options);
dwr.util.highlight(ele, null);
dwr.util.addOptions = function(ele, data, options) { ele = dwr.util._getElementById(ele, "addOptions()"); if (ele == null) return; if (options == null) options = {}; var useOptions = dwr.util._isHTMLElement(ele, "select"); var useLi = dwr.util._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { dwr...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/44933462504ef64d0d87af65a9086f71301913de/util.js/clean/java/org/directwebremoting/util.js
var text; var value; var li;
var text, value, li;
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
else { value = DWRUtil._getValueFrom(data[i], arguments[2]); text = value; }
else text = value = DWRUtil._getValueFrom(data[i], arguments[2]);
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
else { text = DWRUtil._getValueFrom(data[i], arguments[3]); value = text; } if (text || value) { ele.options[ele.options.length] = new Option(text, value); }
else text = value = DWRUtil._getValueFrom(data[i], arguments[3]); if (text || value) ele.options[ele.options.length] = new Option(text, value);
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
if (text || value) { ele.options[ele.options.length] = new Option(text, value); }
if (text || value) ele.options[ele.options.length] = new Option(text, value);
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
if (arguments[2]) { ele.options[ele.options.length] = new Option(prop, data[prop]); } else { ele.options[ele.options.length] = new Option(data[prop], prop); }
if (arguments[2]) ele.options[ele.options.length] = new Option(prop, data[prop]); else ele.options[ele.options.length] = new Option(data[prop], prop);
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
DWRUtil.highlight(ele, options);
DWRUtil.addOptions = function(ele, data) { ele = DWRUtil._getElementById(ele, "addOptions()"); if (ele == null) return; var useOptions = DWRUtil._isHTMLElement(ele, "select"); var useLi = DWRUtil._isHTMLElement(ele, ["ul", "ol"]); if (!useOptions && !useLi) { DWRUtil.debug("addOptions() can only be used with se...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/util.js/clean/java/org/directwebremoting/util.js
if (!DWRUtil._isHTMLElement(ele, "select"))
if (!useOptions && !useLi)
DWRUtil.addOptions = function(ele, data, valuerev, textprop){ var orig = ele; ele = $(ele); if (ele == null) { alert("fillList() can't find an element with id: " + orig + "."); return; } if (!DWRUtil._isHTMLElement(ele, "select")) { alert("fillList() can only be used with selec...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
if (valuerev != null)
if (useOptions)
DWRUtil.addOptions = function(ele, data, valuerev, textprop){ var orig = ele; ele = $(ele); if (ele == null) { alert("fillList() can't find an element with id: " + orig + "."); return; } if (!DWRUtil._isHTMLElement(ele, "select")) { alert("fillList() can only be used with selec...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
if (textprop != null)
if (valuerev != null)
DWRUtil.addOptions = function(ele, data, valuerev, textprop){ var orig = ele; ele = $(ele); if (ele == null) { alert("fillList() can't find an element with id: " + orig + "."); return; } if (!DWRUtil._isHTMLElement(ele, "select")) { alert("fillList() can only be used with selec...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
text = data[i][textprop]; value = data[i][valuerev];
if (textprop != null) { text = data[i][textprop]; value = data[i][valuerev]; } else { value = data[i][valuerev]; text = value; }
DWRUtil.addOptions = function(ele, data, valuerev, textprop){ var orig = ele; ele = $(ele); if (ele == null) { alert("fillList() can't find an element with id: " + orig + "."); return; } if (!DWRUtil._isHTMLElement(ele, "select")) { alert("fillList() can only be used with selec...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js
value = data[i][valuerev]; text = value;
if (textprop != null) { text = data[i][textprop]; value = text; } else { text = "" + data[i]; value = text; }
DWRUtil.addOptions = function(ele, data, valuerev, textprop){ var orig = ele; ele = $(ele); if (ele == null) { alert("fillList() can't find an element with id: " + orig + "."); return; } if (!DWRUtil._isHTMLElement(ele, "select")) { alert("fillList() can only be used with selec...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js