rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 13
136k
| meta
stringlengths 132
347
|
---|---|---|---|
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
|
createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { | createEditField: function() { var text; if(this.options.loadTextURL) { text = this.options.loadingText; } else { text = this.getText(); } if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) { | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
textField.value = this.getText(); | textField.value = text; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
if (size != 0) textField.size = size; form.appendChild(textField); | if (size != 0) textField.size = size; | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
textArea.value = this.convertHTMLLineBreaks(this.getText()); | textArea.value = this.convertHTMLLineBreaks(text); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
form.appendChild(textArea); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
|
if(this.options.loadTextURL) { this.loadExternalText(); } this.form.appendChild(this.editField); | createEditField: function(form) { if (this.options.rows == 1 && !this.hasHTMLLineBreaks(this.getText())) { this.options.textarea = false; var textField = document.createElement("input"); textField.type = "text"; textField.name = "value"; textField.value = this.getText(); textField.style.backgroundColor = this.options.highlightcolor; var size = this.options.size || this.options.cols || 0; if (size != 0) textField.size = size; form.appendChild(textField); this.editField = textField; } else { this.options.textarea = true; var textArea = document.createElement("textarea"); textArea.name = "value"; textArea.value = this.convertHTMLLineBreaks(this.getText()); textArea.rows = this.options.rows; textArea.cols = this.options.cols || 40; form.appendChild(textArea); this.editField = textArea; } }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
|
function createEntryIndex() { this.id = nEntries indexOfEntries[nEntries] = this nEntries++ | function createEntryIndex() { this.id = nEntries indexOfEntries[nEntries] = this nEntries++ | function createEntryIndex() { this.id = nEntries indexOfEntries[nEntries] = this nEntries++ } | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); | if (this.options.okButton) { okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); } | createForm: function() { this.form = document.createElement("form"); this.form.id = this.options.formId; Element.addClassName(this.form, this.options.formClassName) this.form.onsubmit = this.onSubmit.bind(this); this.createEditField(); if (this.options.textarea) { var br = document.createElement("br"); this.form.appendChild(br); } okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); cancelLink = document.createElement("a"); cancelLink.href = "#"; cancelLink.appendChild(document.createTextNode(this.options.cancelText)); cancelLink.onclick = this.onclickCancel.bind(this); this.form.appendChild(cancelLink); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/4aa026a4c3550e7051fff79a69c84aea734cffa1/controls.js/buggy/src/controls.js |
cancelLink = document.createElement("a"); cancelLink.href = "#"; cancelLink.appendChild(document.createTextNode(this.options.cancelText)); cancelLink.onclick = this.onclickCancel.bind(this); this.form.appendChild(cancelLink); | if (this.options.cancelLink) { cancelLink = document.createElement("a"); cancelLink.href = "#"; cancelLink.appendChild(document.createTextNode(this.options.cancelText)); cancelLink.onclick = this.onclickCancel.bind(this); this.form.appendChild(cancelLink); } | createForm: function() { this.form = document.createElement("form"); this.form.id = this.options.formId; Element.addClassName(this.form, this.options.formClassName) this.form.onsubmit = this.onSubmit.bind(this); this.createEditField(); if (this.options.textarea) { var br = document.createElement("br"); this.form.appendChild(br); } okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); cancelLink = document.createElement("a"); cancelLink.href = "#"; cancelLink.appendChild(document.createTextNode(this.options.cancelText)); cancelLink.onclick = this.onclickCancel.bind(this); this.form.appendChild(cancelLink); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/4aa026a4c3550e7051fff79a69c84aea734cffa1/controls.js/buggy/src/controls.js |
Rico.Color.createFromHex = function(hexCode) { | OpenLayers.Rico.Color.createFromHex = function(hexCode) { | Rico.Color.createFromHex = function(hexCode) { if(hexCode.length==4) { var shortHexCode = hexCode; var hexCode = '#'; for(var i=1;i<4;i++) hexCode += (shortHexCode.charAt(i) + shortHexCode.charAt(i)); } if ( hexCode.indexOf('#') == 0 ) hexCode = hexCode.substring(1); var red = hexCode.substring(0,2); var green = hexCode.substring(2,4); var blue = hexCode.substring(4,6); return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) );} | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) ); | return new OpenLayers.Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) ); | Rico.Color.createFromHex = function(hexCode) { if(hexCode.length==4) { var shortHexCode = hexCode; var hexCode = '#'; for(var i=1;i<4;i++) hexCode += (shortHexCode.charAt(i) + shortHexCode.charAt(i)); } if ( hexCode.indexOf('#') == 0 ) hexCode = hexCode.substring(1); var red = hexCode.substring(0,2); var green = hexCode.substring(2,4); var blue = hexCode.substring(4,6); return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) );} | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
Rico.Color.createFromHex = function(hexCode) { | OpenLayers.Rico.Color.createFromHex = function(hexCode) { | Rico.Color.createFromHex = function(hexCode) { if(hexCode.length==4) { var shortHexCode = hexCode; var hexCode = '#'; for(var i=1;i<4;i++) hexCode += (shortHexCode.charAt(i) + shortHexCode.charAt(i)); } if ( hexCode.indexOf('#') == 0 ) hexCode = hexCode.substring(1); var red = hexCode.substring(0,2); var green = hexCode.substring(2,4); var blue = hexCode.substring(4,6); return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) );} | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) ); | return new OpenLayers.Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) ); | Rico.Color.createFromHex = function(hexCode) { if(hexCode.length==4) { var shortHexCode = hexCode; var hexCode = '#'; for(var i=1;i<4;i++) hexCode += (shortHexCode.charAt(i) + shortHexCode.charAt(i)); } if ( hexCode.indexOf('#') == 0 ) hexCode = hexCode.substring(1); var red = hexCode.substring(0,2); var green = hexCode.substring(2,4); var blue = hexCode.substring(4,6); return new Rico.Color( parseInt(red,16), parseInt(green,16), parseInt(blue,16) );} | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
id = "OpenLayersDiv" + (Math.random() * 10000 % 10000); | id = "OpenLayersDiv" + Math.round(Math.random() * 10000); | OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border) { image = document.createElement("img"); //set special properties image.style.alt = id; image.galleryImg = "no"; if (imgURL) { image.src = imgURL; } //set generic properties if (!id) { id = "OpenLayersDiv" + (Math.random() * 10000 % 10000); } if (!position) { position = "relative"; } OpenLayers.Util.modifyDOMElement(image, id, px, sz, position, border); return image;}; | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/9eb4f1967e74b30d436c85d8456c3a6ba8b6f246/Util.js/buggy/lib/OpenLayers/Util.js |
image.galleryImg = "no"; | OpenLayers.Util.createImage = function(img, sz, xy, position, id, border) { image = document.createElement("img"); if (id) { image.id = id; image.style.alt = id; } if (xy) { image.style.left = xy.x; image.style.top = xy.y; } if (sz) { image.style.width = sz.w; image.style.height = sz.h; } if (position) { image.style.position = position; } else { image.style.position = "relative"; } if (border) { image.style.border = border + "px solid"; } else { image.style.border = 0; } image.style.cursor = "inherit"; image.src = img; return image;}; | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/89f3b83a4ee50d294847215231ec8b272a4d0f52/Util.js/clean/lib/OpenLayers/Util.js |
|
id = "OpenLayersDiv" + (Math.random() * 10000 % 10000); | id = "OpenLayersDiv" + Math.round(Math.random() * 10000); | OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border) { image = document.createElement("img"); //set special properties image.style.alt = id; image.galleryImg = "no"; if (imgURL) { image.src = imgURL; } //set generic properties if (!id) { id = "OpenLayersDiv" + (Math.random() * 10000 % 10000); } if (!position) { position = "relative"; } OpenLayers.Util.modifyDOMElement(image, id, px, sz, position, border); return image;}; | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/9eb4f1967e74b30d436c85d8456c3a6ba8b6f246/Util.js/clean/lib/OpenLayers/Util.js |
image.galleryImg = "no"; | OpenLayers.Util.createImage = function(img, sz, xy, position, id, border) { image = document.createElement("img"); if (id) { image.id = id; image.style.alt = id; } if (xy) { image.style.left = xy.x; image.style.top = xy.y; } if (sz) { image.style.width = sz.w; image.style.height = sz.h; } if (position) { image.style.position = position; } else { image.style.position = "relative"; } if (border) { image.style.border = border + "px solid"; } else { image.style.border = 0; } image.style.cursor = "inherit"; image.src = img; return image;}; | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/89f3b83a4ee50d294847215231ec8b272a4d0f52/Util.js/clean/lib/OpenLayers/Util.js |
|
} else { | } else | function createLinkCommand(url) { if (commandDelay > 0) { window.setTimeout(execCreateLinkCommand, commandCount * commandDelay, url); commandCount++; } else { execCreateLinkCommand(url); }} | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/793b18436fb8ccac4c0d3c17be95691938e5da45/editing.js/buggy/third_party/WebKit/LayoutTests/editing/editing.js |
} | function createLinkCommand(url) { if (commandDelay > 0) { window.setTimeout(execCreateLinkCommand, commandCount * commandDelay, url); commandCount++; } else { execCreateLinkCommand(url); }} | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/793b18436fb8ccac4c0d3c17be95691938e5da45/editing.js/buggy/third_party/WebKit/LayoutTests/editing/editing.js |
|
this.ovmap = new OpenLayers.Map(this.mapDiv.id, {controls: [], maxResolution: 'auto'}); | var options = OpenLayers.Util.extend( {controls: [], maxResolution: 'auto'}, this.mapOptions); this.ovmap = new OpenLayers.Map(this.mapDiv.id, options); | createMap: function() { // create the overview map this.ovmap = new OpenLayers.Map(this.mapDiv.id, {controls: [], maxResolution: 'auto'}); this.ovmap.addLayers(this.layers); this.ovmap.zoomToMaxExtent(); // check extent rectangle border width this.wComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-left-width')) + parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-right-width')); this.wComp = (this.wComp) ? this.wComp : 2; this.hComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-top-width')) + parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-bottom-width')); this.hComp = (this.hComp) ? this.hComp : 2; }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/063a10d4ac33e4621b6e6a334ce7c9025c4e3bc3/OverviewMap.js/clean/lib/OpenLayers/Control/OverviewMap.js |
this.ovmap = new OpenLayers.Map(this.mapDiv.id, {controls: [], maxResolution: 'auto'}); | var options = OpenLayers.Util.extend( {controls: [], maxResolution: 'auto'}, this.mapOptions); this.ovmap = new OpenLayers.Map(this.mapDiv.id, options); | createMap: function() { // create the overview map this.ovmap = new OpenLayers.Map(this.mapDiv.id, {controls: [], maxResolution: 'auto'}); this.ovmap.addLayers(this.layers); this.ovmap.zoomToMaxExtent(); // check extent rectangle border width this.wComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-left-width')) + parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-right-width')); this.wComp = (this.wComp) ? this.wComp : 2; this.hComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-top-width')) + parseInt(OpenLayers.Element.getStyle(this.extentRectangle, 'border-bottom-width')); this.hComp = (this.hComp) ? this.hComp : 2; }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/063a10d4ac33e4621b6e6a334ce7c9025c4e3bc3/OverviewMap.js/clean/lib/OpenLayers/Control/OverviewMap.js |
createMarker: function() { var imgLocation = OpenLayers.Util.getImagesLocation(); if (this.lonlat != null) { var imgURL = (this.data.iconURL) ? this.data.iconURL : imgLocation + "marker.png"; var imgSize = (this.data.iconSize) ? this.data.iconSize : new OpenLayers.Size(25, 25); var imgOffset = (this.data.iconOffset) ? this.data.iconOffset : new OpenLayers.Pixel(0,0); this.icon = new OpenLayers.Icon(imgURL, imgSize, imgOffset); this.marker = new OpenLayers.Marker(this.lonlat, this.icon); } return this.marker; }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/buggy/lib/OpenLayers/Feature.js |
||
: new OpenLayers.Pixel(0,0); | : null; | createMarker: function() { var imgLocation = OpenLayers.Util.getImagesLocation(); if (this.lonlat != null) { var imgURL = (this.data.iconURL) ? this.data.iconURL : imgLocation + "marker.png"; var imgSize = (this.data.iconSize) ? this.data.iconSize : new OpenLayers.Size(25, 25); var imgOffset = (this.data.iconOffset) ? this.data.iconOffset : new OpenLayers.Pixel(0,0); this.icon = new OpenLayers.Icon(imgURL, imgSize, imgOffset); this.marker = new OpenLayers.Marker(this.lonlat, this.icon); } return this.marker; }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/buggy/lib/OpenLayers/Feature.js |
createMarker: function() { var imgLocation = OpenLayers.Util.getImagesLocation(); if (this.lonlat != null) { var imgURL = (this.data.iconURL) ? this.data.iconURL : imgLocation + "marker.png"; var imgSize = (this.data.iconSize) ? this.data.iconSize : new OpenLayers.Size(25, 25); var imgOffset = (this.data.iconOffset) ? this.data.iconOffset : new OpenLayers.Pixel(0,0); this.icon = new OpenLayers.Icon(imgURL, imgSize, imgOffset); this.marker = new OpenLayers.Marker(this.lonlat, this.icon); } return this.marker; }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/clean/lib/OpenLayers/Feature.js |
||
: new OpenLayers.Pixel(0,0); | : null; | createMarker: function() { var imgLocation = OpenLayers.Util.getImagesLocation(); if (this.lonlat != null) { var imgURL = (this.data.iconURL) ? this.data.iconURL : imgLocation + "marker.png"; var imgSize = (this.data.iconSize) ? this.data.iconSize : new OpenLayers.Size(25, 25); var imgOffset = (this.data.iconOffset) ? this.data.iconOffset : new OpenLayers.Pixel(0,0); this.icon = new OpenLayers.Icon(imgURL, imgSize, imgOffset); this.marker = new OpenLayers.Marker(this.lonlat, this.icon); } return this.marker; }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/clean/lib/OpenLayers/Feature.js |
if (isIE) { return new IEPageBot(windowObject); } else { return new MozillaPageBot(windowObject); | switch (browserName) { case "Microsoft Internet Explorer": return new IEPageBot(windowObject); case "Konqueror": return new KonquerorPageBot(windowObject); default: return new MozillaPageBot(windowObject); | function createPageBot(windowObject) { if (isIE) { return new IEPageBot(windowObject); } else { return new MozillaPageBot(windowObject); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0ef8059ea5239941a969400fc6871b71f8b4125d/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js |
if (isIE) { return new IEPageBot(windowObject); } else { return new MozillaPageBot(windowObject); | switch (browserName) { case "Microsoft Internet Explorer": return new IEPageBot(windowObject); case "Konqueror": return new KonquerorPageBot(windowObject); default: return new MozillaPageBot(windowObject); | function createPageBot(windowObject) { if (isIE) { return new IEPageBot(windowObject); } else { return new MozillaPageBot(windowObject); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ac4efccf701bb88b2f2dabb39561d143db47f4f4/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js |
return this.popup; | createPopup: function() { if (this.lonlat != null) { if (this.marker) { var anchorSize = this.marker.icon.size; } this.popup = new OpenLayers.Popup.AnchoredBubble(this.id + "_popup", this.lonlat, this.data.popupSize, this.data.popupContentHTML, anchorSize); } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/buggy/lib/OpenLayers/Feature.js |
|
return this.popup; | createPopup: function() { if (this.lonlat != null) { if (this.marker) { var anchorSize = this.marker.icon.size; } this.popup = new OpenLayers.Popup.AnchoredBubble(this.id + "_popup", this.lonlat, this.data.popupSize, this.data.popupContentHTML, anchorSize); } }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/9256cdc2074bbbb49958351bf8baf885bf151a4b/Feature.js/clean/lib/OpenLayers/Feature.js |
|
setTimeout(cronjob, that.getRefresh); | setTimeout(cronjob, that.getRefresh()); | var cronjob = function () { var last = cron[id]; if(!last || last == lasttime) { that.refreshDocument(doc); lasttime = new Date().valueOf(); cron[id] = lasttime; setTimeout(cronjob, that.getRefresh); } }; | 4463 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4463/facd4869ff3b083d21afb437ee474592eec22518/itsalltext.js/buggy/chrome/content/itsalltext.js |
cumulativeOffset: function(element) { | Position.cumulativeOffset = function(element) { | cumulativeOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; } while (element); return [valueL, valueT]; }, | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
}, | } | cumulativeOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; } while (element); return [valueL, valueT]; }, | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
parseInt(this.element.style.left || '0'), parseInt(this.element.style.top || '0')]); | parseInt(Element.getStyle(this.element,'left') || '0'), parseInt(Element.getStyle(this.element,'top') || '0')]); | currentDelta: function() { return([ parseInt(this.element.style.left || '0'), parseInt(this.element.style.top || '0')]); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/6bd53908b2806f2203e5a5afbb78cd5554036d55/dragdrop.js/clean/src/dragdrop.js |
var result = false; | var result = true; | function CustomValidatorEvaluateIsValid (validator){ var InitialValue = validator.getAttribute ("initialvalue"); var ControlToValidate = validator.getAttribute ("controltovalidate"); var evaluationfunc = validator.getAttribute ("clientvalidationfunction"); var ctrl_value = ValidatorTrim (ValidatorGetValue (ControlToValidate)); var result = false; if (evaluationfunc && evaluationfunc != "") { args = {Value:ctrl_value, IsValid:false}; eval (evaluationfunc + "(validator, args)"); result = args.IsValid; } if (result) { ValidatorSucceeded (validator); return true; } else { ValidatorFailed (validator); return false; }} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/1527fdc717b236e10a4eb8932544afc6f20d7f37/WebUIValidation.js/buggy/mcs/class/System.Web/resources/WebUIValidation.js |
var result = false; | var result = true; | function CustomValidatorEvaluateIsValid (validator){ var InitialValue = validator.getAttribute ("initialvalue"); var ControlToValidate = validator.getAttribute ("controltovalidate"); var evaluationfunc = validator.getAttribute ("clientvalidationfunction"); var ctrl_value = ValidatorTrim (ValidatorGetValue (ControlToValidate)); var result = false; if (evaluationfunc && evaluationfunc != "") { args = {Value:ctrl_value, IsValid:false}; eval (evaluationfunc + "(validator, args)"); result = args.IsValid; } if (result) { ValidatorSucceeded (validator); return true; } else { ValidatorFailed (validator); return false; }} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/cd3f3b7134063e51fd317c7131381bec0cc450d3/WebUIValidation.js/clean/mcs/class/System.Web/resources/WebUIValidation.js |
this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); | this.rgb = OpenLayers.Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); | darken: function(percent) { var hsb = this.asHSB(); this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); | this.rgb = OpenLayers.Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); | darken: function(percent) { var hsb = this.asHSB(); this.rgb = Rico.Color.HSBtoRGB(hsb.h, hsb.s, Math.max(hsb.b - percent,0)); }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
el._current = el.firstChild.data; | el._current = el.innerHTML; | Calendar.dayMouseDown = function(ev) { var el = Calendar.getElement(ev); if (el.disabled) { return false; } var cal = el.calendar; cal.activeDiv = el; Calendar._C = cal; if (el.navtype != 300) with (Calendar) { if (el.navtype == 50) { el._current = el.firstChild.data; addEvent(document, "mousemove", tableMouseOver); } else addEvent(document, Calendar.is_ie5 ? "mousemove" : "mouseover", tableMouseOver); addClass(el, "hilite active"); addEvent(document, "mouseup", tableMouseUp); } else if (cal.isPopup) { cal._dragStart(ev); } if (el.navtype == -1 || el.navtype == 1) { if (cal.timeout) clearTimeout(cal.timeout); cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250); } else if (el.navtype == -2 || el.navtype == 2) { if (cal.timeout) clearTimeout(cal.timeout); cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250); } else { cal.timeout = null; } return Calendar.stopEvent(ev);}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
el._current = el.firstChild.data; | el._current = el.innerHTML; | Calendar.dayMouseDown = function(ev) { var el = Calendar.getElement(ev); if (el.disabled) { return false; } var cal = el.calendar; cal.activeDiv = el; Calendar._C = cal; if (el.navtype != 300) with (Calendar) { if (el.navtype == 50) { el._current = el.firstChild.data; addEvent(document, "mousemove", tableMouseOver); } else addEvent(document, Calendar.is_ie5 ? "mousemove" : "mouseover", tableMouseOver); addClass(el, "hilite active"); addEvent(document, "mouseup", tableMouseUp); } else if (cal.isPopup) { cal._dragStart(ev); } if (el.navtype == -1 || el.navtype == 1) { if (cal.timeout) clearTimeout(cal.timeout); cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250); } else if (el.navtype == -2 || el.navtype == 2) { if (cal.timeout) clearTimeout(cal.timeout); cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250); } else { cal.timeout = null; } return Calendar.stopEvent(ev);}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
if (isRelated(el, ev) || _C || el.disabled) { | if (isRelated(el, ev) || _C || el.disabled) | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
} | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
|
if (el.caldate) { | if (el.caldate) | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
} el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; | if (el.calendar) el.calendar.tooltips.innerHTML = _TT["SEL_DATE"]; | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
if (isRelated(el, ev) || _C || el.disabled) { | if (isRelated(el, ev) || _C || el.disabled) | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
} | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
|
if (el.caldate) { | if (el.caldate) | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
} el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; | if (el.calendar) el.calendar.tooltips.innerHTML = _TT["SEL_DATE"]; | Calendar.dayMouseOut = function(ev) { with (Calendar) { var el = getElement(ev); if (isRelated(el, ev) || _C || el.disabled) { return false; } removeClass(el, "hilite"); if (el.caldate) { removeClass(el.parentNode, "rowhilite"); } el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; return stopEvent(ev); }}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
el.calendar.tooltips.firstChild.data = el.ttip; | el.calendar.tooltips.innerHTML = el.ttip; | Calendar.dayMouseOver = function(ev) { var el = Calendar.getElement(ev); if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) { return false; } if (el.ttip) { if (el.ttip.substr(0, 1) == "_") { el.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1); } el.calendar.tooltips.firstChild.data = el.ttip; } if (el.navtype != 300) { Calendar.addClass(el, "hilite"); if (el.caldate) { Calendar.addClass(el.parentNode, "rowhilite"); } } return Calendar.stopEvent(ev);}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
el.calendar.tooltips.firstChild.data = el.ttip; | el.calendar.tooltips.innerHTML = el.ttip; | Calendar.dayMouseOver = function(ev) { var el = Calendar.getElement(ev); if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) { return false; } if (el.ttip) { if (el.ttip.substr(0, 1) == "_") { el.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1); } el.calendar.tooltips.firstChild.data = el.ttip; } if (el.navtype != 300) { Calendar.addClass(el, "hilite"); if (el.caldate) { Calendar.addClass(el.parentNode, "rowhilite"); } } return Calendar.stopEvent(ev);}; | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
Element.Class.remove(drop.element, drop.hoverclass); | if(drop.hoverclass) Element.Class.remove(drop.element, drop.hoverclass); | deactivate: function(drop) { Element.Class.remove(drop.element, drop.hoverclass); this.last_active = null; }, | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/clean/public/javascripts/dragdrop.js |
this.log(message, "debug"); | this.log("debug", message); | debug: function(message) { this.log(message, "debug"); }, | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/2926652532e34f5b463decd00e6cb0836ad65b1d/selenium-logging.js/clean/code/javascript/core/scripts/selenium-logging.js |
try { return Firebug.Console.logFormatted(arguments); } catch(e) { return null; } | if (that.preferences.data.debug) { try { return Firebug.Console.logFormatted(arguments); } catch(e) { return null; } } | that.debug = function() { try { return Firebug.Console.logFormatted(arguments); } catch(e) { return null; } }; | 4463 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4463/facd4869ff3b083d21afb437ee474592eec22518/itsalltext.js/buggy/chrome/content/itsalltext.js |
var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http: | var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems AB',authorurl:'http: | var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};}};tinyMCE.addPlugin("inlinepopups",TinyMCE_InlinePopupsPlugin);TinyMCE_Engine.prototype.orgOpenWindow=TinyMCE_Engine.prototype.openWindow;TinyMCE_Engine.prototype.openWindow=function(template,args){if(args['inline']!="yes"||tinyMCE.isOpera||tinyMCE.getParam("plugins").indexOf('inlinepopups')==-1){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return;}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]));}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');var pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/2)-(width/2));pos.absTop+=Math.round((elm.firstChild.clientHeight/2)-(height/2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop);};TinyMCE_Engine.prototype.orgCloseWindow=TinyMCE_Engine.prototype.closeWindow;TinyMCE_Engine.prototype.closeWindow=function(win){if(mcWindows.selectedWindow!=null)mcWindows.selectedWindow.close();else this.orgCloseWindow(win);};TinyMCE_Engine.prototype.setWindowTitle=function(win_ref,title){for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title;}};function TinyMCE_Windows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=100;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0;};TinyMCE_Windows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);else this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.doc=document;};TinyMCE_Windows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value;};TinyMCE_Windows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break;}}}switch(e.type){case"mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case"mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case"mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case"focus":mcWindows.selectedWindow.onFocus(e);break;}};TinyMCE_Windows.prototype.addEvent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+name,handler);else obj.addEventListener(name,handler,true);};TinyMCE_Windows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true;}else e.preventDefault();};TinyMCE_Windows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i<optionChunks.length;i++){var parts=optionChunks[i].split('=');if(parts.length==2)options[parts[0]]=parts[1];}options['left']=parseInt(options['left']);options['top']=parseInt(options['top']);options['width']=parseInt(options['width']);options['height']=parseInt(options['height']);return options;};TinyMCE_Windows.prototype.open=function(url,name,features){this.lastSelectedWindow=this.selectedWindow;var win=new TinyMCE_Window();var winDiv,html="",id;var imgPath=this.getParam("images_path");features=this.parseFeatures(features);id="mcWindow_"+name;win.deltaHeight=18;if(features['statusbar']=="yes"){win.deltaHeight+=13;if(this.isMSIE)win.deltaHeight+=1;}width=parseInt(features['width']);height=parseInt(features['height'])-win.deltaHeight;if(this.isMSIE)width-=2;win.id=id;win.url=url;win.name=name;win.features=features;this.windows[name]=win;iframeWidth=width;iframeHeight=height;html+='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';html+='<html>';html+='<head>';html+='<title>Wrapper iframe</title>';html+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';html+='<link href="'+this.getParam("css_file")+'" rel="stylesheet" type="text/css" />';html+='</head>';html+='<body onload="parent.mcWindows.onLoad(\''+name+'\');">';html+='<div id="'+id+'_container" class="mceWindow">';html+='<div id="'+id+'_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';html+=' <div id="'+id+'_title" class="mceWindowTitle"';html+=' onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';html+=' <div class="mceWindowHeadTools">';html+=' <a href="javascript:parent.mcWindows.windows[\''+name+'\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="'+imgPath+'/window_close.gif" /></a>';html+=' </div>';html+='</div><div id="'+id+'_body" class="mceWindowBody" style="width: '+width+'px; height: '+height+'px;">';html+='<iframe id="'+id+'_iframe" name="'+id+'_iframe" frameborder="0" width="'+iframeWidth+'" height="'+iframeHeight+'" src="'+url+'" class="mceWindowBodyIframe" scrolling="'+features['scrollbars']+'"></iframe></div>';if(features['statusbar']=="yes"){html+='<div id="'+id+'_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';if(features['resizable']=="yes"){if(this.isGecko)html+='<div id="'+id+'_resize" class="mceWindowResize"><div style="background-image: url(\''+imgPath+'/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';else html+='<div id="'+id+'_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();" border="0" src="'+imgPath+'/window_resize.gif" /></div>';}html+='</div>';}html+='</div>';html+='</body>';html+='</html>';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html);};TinyMCE_Windows.prototype.setDocumentLock=function(state){if(state){var elm=document.getElementById('mcWindowEventBlocker');if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0";elm.style.top="0";document.body.appendChild(elm);}elm.style.display="none";var imgPath=this.getParam("images_path");var width=document.body.clientWidth;var height=document.body.clientHeight;elm.style.width=width;elm.style.height=height;elm.innerHTML='<img src="'+imgPath+'/spacer.gif" width="'+width+'" height="'+height+'" />';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block";}else{var elm=document.getElementById('mcWindowEventBlocker');if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1;}};TinyMCE_Windows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElement=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher);}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher);}for(var i=0;i<window.frames.length;i++){if(!window.frames[i]._hasMouseHandlers){if(mcWindows.isMSIE){mcWindows.addEvent(window.frames[i].document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i].document,"mouseup",mcWindows.eventDispatcher);}else{mcWindows.addEvent(window.frames[i],"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i],"mouseup",mcWindows.eventDispatcher);}window.frames[i]._hasMouseHandlers=true;}}if(mcWindows.isMSIE){mcWindows.addEvent(win.frame.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame.document,"mouseup",mcWindows.eventDispatcher);}else{mcWindows.addEvent(win.frame,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"focus",mcWindows.eventDispatcher);}var func=this.getParam("on_open_window","");if(func!="")eval(func+"(win);");win.focus();if(win.features['modal']=="yes")mcWindows.setDocumentLock(true);};TinyMCE_Windows.prototype.createFloatingIFrame=function(id_prefix,left,top,width,height,html){var iframe=document.createElement("iframe");var div=document.createElement("div");width=parseInt(width);height=parseInt(height)+1;div.setAttribute("id",id_prefix+"_div");div.setAttribute("width",width);div.setAttribute("height",(height));div.style.position="absolute";div.style.left=left+"px";div.style.top=top+"px";div.style.width=width+"px";div.style.height=(height)+"px";div.style.backgroundColor="white";div.style.display="none";if(this.isGecko){iframeWidth=width+2;iframeHeight=height+2;}else{iframeWidth=width;iframeHeight=height+1;}iframe.setAttribute("id",id_prefix+"_iframe");iframe.setAttribute("name",id_prefix+"_iframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",iframeWidth);iframe.setAttribute("height",iframeHeight);iframe.setAttribute("scrolling","no");iframe.style.width=iframeWidth+"px";iframe.style.height=iframeHeight+"px";iframe.style.backgroundColor="white";div.appendChild(iframe);document.body.appendChild(div);div.innerHTML=div.innerHTML;if(this.isSafari){window.setTimeout(function(){doc=window.frames[id_prefix+'_iframe'].document;doc.open();doc.write(html);doc.close();},10);}else{doc=window.frames[id_prefix+'_iframe'].window.document;doc.open();doc.write(html);doc.close();}div.style.display="block";return div;};function TinyMCE_Window(){};TinyMCE_Window.prototype.focus=function(){if(this!=mcWindows.selectedWindow){this.winElement.style.zIndex=++mcWindows.zindex;mcWindows.lastSelectedWindow=mcWindows.selectedWindow;mcWindows.selectedWindow=this;}};TinyMCE_Window.prototype.minimize=function(){};TinyMCE_Window.prototype.maximize=function(){};TinyMCE_Window.prototype.startResize=function(){mcWindows.action="resize";};TinyMCE_Window.prototype.startMove=function(e){mcWindows.action="move";};TinyMCE_Window.prototype.close=function(){if(this.frame&&this.frame['tinyMCEPopup'])this.frame['tinyMCEPopup'].restoreSelection();if(mcWindows.lastSelectedWindow!=null)mcWindows.lastSelectedWindow.focus();var mcWindowsNew=new Array();for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win.name!=this.name)mcWindowsNew[n]=win;}mcWindows.windows=mcWindowsNew;var e=mcWindows.doc.getElementById(this.id+"_iframe");e.parentNode.removeChild(e);var e=mcWindows.doc.getElementById(this.id+"_div");e.parentNode.removeChild(e);mcWindows.setDocumentLock(false);};TinyMCE_Window.prototype.onMouseMove=function(e){var scrollX=0;var scrollY=0;var dx=e.screenX-mcWindows.mouseDownScreenX;var dy=e.screenY-mcWindows.mouseDownScreenY;switch(mcWindows.action){case"resize":width=mcWindows.mouseDownWidth+(e.screenX-mcWindows.mouseDownScreenX);height=mcWindows.mouseDownHeight+(e.screenY-mcWindows.mouseDownScreenY);width=width<100?100:width;height=height<100?100:height;this.wrapperIFrameElement.style.width=width+2;this.wrapperIFrameElement.style.height=height+2;this.wrapperIFrameElement.width=width+2;this.wrapperIFrameElement.height=height+2;this.winElement.style.width=width;this.winElement.style.height=height;height=height-this.deltaHeight;this.containerElement.style.width=width;this.iframeElement.style.width=width;this.iframeElement.style.height=height;this.bodyElement.style.width=width;this.bodyElement.style.height=height;this.headElement.style.width=width;mcWindows.cancelEvent(e);break;case"move":this.left=mcWindows.mouseDownLayerX+(e.screenX-mcWindows.mouseDownScreenX);this.top=mcWindows.mouseDownLayerY+(e.screenY-mcWindows.mouseDownScreenY);this.winElement.style.left=this.left+"px";this.winElement.style.top=this.top+"px";mcWindows.cancelEvent(e);break;}};function debug(msg){document.getElementById('debug').value+=msg+"\n";}TinyMCE_Window.prototype.onMouseUp=function(e){mcWindows.action="none";};TinyMCE_Window.prototype.onFocus=function(e){var winRef=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(winRef.name==win.id+"_iframe"){win.focus();return;}}};TinyMCE_Window.prototype.onMouseDown=function(e){var elm=mcWindows.isMSIE?this.wrapperFrame.event.srcElement:e.target;var scrollX=0;var scrollY=0;mcWindows.mouseDownScreenX=e.screenX;mcWindows.mouseDownScreenY=e.screenY;mcWindows.mouseDownLayerX=this.left;mcWindows.mouseDownLayerY=this.top;mcWindows.mouseDownWidth=parseInt(this.winElement.style.width);mcWindows.mouseDownHeight=parseInt(this.winElement.style.height);if(this.resizeElement!=null&&elm==this.resizeElement.firstChild)this.startResize(e);else this.startMove(e);mcWindows.cancelEvent(e);};var mcWindows=new TinyMCE_Windows();mcWindows.init({images_path:tinyMCE.baseURL+"/plugins/inlinepopups/images",css_file:tinyMCE.baseURL+"/plugins/inlinepopups/css/inlinepopup.css"}); | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js |
subScriptLoader.loadSubScript('chrome: subScriptLoader.loadSubScript('chrome: subScriptLoader.loadSubScript('chrome: | function Debugger() { this.log = new Log("Debugger"); var self = this; this.init = function() { if (this.runner != null) { // already initialized return; } this.log.debug("init"); this.paused = false; this.runner = new Object(); recorder.testCaseListeners.push(function(testCase) { self.runner.testCase = testCase; }); this.runner.testCase = recorder.testCase; const subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); //subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-logging.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-api.js', this.runner); if (recorder.options.userExtensionsURL) { try { subScriptLoader.loadSubScript(recorder.options.userExtensionsURL, this.runner); } catch (error) { this.log.error("error loading user-extensions.js: " + error); } } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-commandhandlers.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-executionloop.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-browserbot.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium-runner.js', this.runner); this.logFrame = new LogFrame(this.runner.LOG); this.runner.getInterval = function() { if (self.runner.testCase.debugContext.currentCommand().breakpoint) { self.paused = true; return -1; } else if (self.paused) { return -1; } else { return document.getElementById("runInterval").selectedItem.value; } } }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/002f270418d3c2ef00bbbb70406ea74e226bfaee/debugger.js/buggy/src/content/debugger.js |
|
self.paused = true; | function Debugger() { var self = this; this.init = function() { if (this.runner != null) { // already initialized return; } this.paused = false; this.runner = new Object(); recorder.testCaseListeners.push(function(testCase) { self.runner.testCase = testCase; }); this.runner.testCase = recorder.testCase; const subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); //subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-logging.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-api.js', this.runner); if (recorder.options.userExtensionsURL) { subScriptLoader.loadSubScript(recorder.options.userExtensionsURL, this.runner); } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-commandhandlers.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-executionloop.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-browserbot.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium-runner.js', this.runner); this.logFrame = new LogFrame(this.runner.LOG); this.runner.getInterval = function() { if (self.runner.testCase.debugContext.currentCommand().breakpoint) { return -1; } else if (self.paused) { return -1; } else { return document.getElementById("runInterval").selectedItem.value; } } }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/edff5de1cd9e55ad1a890d6fd09366975e91e0dc/debugger.js/clean/src/content/debugger.js |
|
if (!navigator.userAgent.match(/ rv:1\.8\.0/)) { | if (isFirefox2()) { | function Debugger(editor) { this.log = new Log("Debugger"); this.editor = editor; var self = this; this.init = function() { if (this.runner != null) { // already initialized return; } this.log.debug("init"); this.paused = false; this.runner = new Object(); this.runner.editor = this.editor; this.editor.testCaseListeners.push(function(testCase) { self.runner.testCase = testCase; }); this.runner.testCase = this.editor.testCase; const subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); //subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-logging.js', this.runner); if (!navigator.userAgent.match(/ rv:1\.8\.0/)) { // Not Firefox 1.5 (Gecko 1.8.0) // In Firefox 2.0, it seems that methods added to Object or String does not work in subscripts, // so we'll load prototype.js and htmlutils.js again // (Tested on Firefox 2.0 RC2) this.runner.eval = function(str, arg) { return eval(str); } this.runner.window = window; this.runner.Element = window.Element; this.runner.Event = window.Event; subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/lib/prototype.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/htmlutils.js', this.runner); } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-api.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-commandhandlers.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-executionloop.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-browserbot.js', this.runner); if (this.editor.options.userExtensionsURL) { try { ExtensionsLoader.loadSubScript(subScriptLoader, this.editor.options.userExtensionsURL, this.runner); } catch (error) { this.log.error("error loading user-extensions.js: " + error); } } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium-runner.js', this.runner); this.editor.infoPanel.logView.setLog(this.runner.LOG); this.runner.getInterval = function() { if (self.runner.testCase.debugContext.currentCommand().breakpoint) { self.paused = true; return -1; } else if (self.paused) { return -1; } else { return document.getElementById("runInterval").selectedItem.value; } } }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/19cfca439e737e1ded4ec3b9399a43854af889d2/debugger.js/buggy/src/content/debugger.js |
this.runner.eval = function(str, arg) { return eval(str); } | this.runner.eval = doEval; | function Debugger(editor) { this.log = new Log("Debugger"); this.editor = editor; var self = this; this.init = function() { if (this.runner != null) { // already initialized return; } this.log.debug("init"); this.paused = false; this.runner = new Object(); this.runner.editor = this.editor; this.editor.testCaseListeners.push(function(testCase) { self.runner.testCase = testCase; }); this.runner.testCase = this.editor.testCase; const subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); //subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-logging.js', this.runner); if (!navigator.userAgent.match(/ rv:1\.8\.0/)) { // Not Firefox 1.5 (Gecko 1.8.0) // In Firefox 2.0, it seems that methods added to Object or String does not work in subscripts, // so we'll load prototype.js and htmlutils.js again // (Tested on Firefox 2.0 RC2) this.runner.eval = function(str, arg) { return eval(str); } this.runner.window = window; this.runner.Element = window.Element; this.runner.Event = window.Event; subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/lib/prototype.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/htmlutils.js', this.runner); } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-api.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-commandhandlers.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-executionloop.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-browserbot.js', this.runner); if (this.editor.options.userExtensionsURL) { try { ExtensionsLoader.loadSubScript(subScriptLoader, this.editor.options.userExtensionsURL, this.runner); } catch (error) { this.log.error("error loading user-extensions.js: " + error); } } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium-runner.js', this.runner); this.editor.infoPanel.logView.setLog(this.runner.LOG); this.runner.getInterval = function() { if (self.runner.testCase.debugContext.currentCommand().breakpoint) { self.paused = true; return -1; } else if (self.paused) { return -1; } else { return document.getElementById("runInterval").selectedItem.value; } } }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/19cfca439e737e1ded4ec3b9399a43854af889d2/debugger.js/buggy/src/content/debugger.js |
this.runner.eval = function(str) { return eval(str); } | function Debugger(editor) { this.log = new Log("Debugger"); this.editor = editor; var self = this; this.init = function() { if (this.runner != null) { // already initialized return; } this.log.debug("init"); this.paused = false; this.runner = new Object(); this.runner.editor = this.editor; this.editor.testCaseListeners.push(function(testCase) { self.runner.testCase = testCase; }); this.runner.testCase = this.editor.testCase; const subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader); //subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/selenium-logging.js', this.runner); if (!navigator.userAgent.match(/ rv:1\.8\.0/)) { // Not Firefox 1.5 (Gecko 1.8.0) // In Firefox 2.0, it seems that methods added to Object or String does not work in subscripts, // so we'll load prototype.js and htmlutils.js again // (Tested on Firefox 2.0 RC2) this.runner.window = window; this.runner.Element = window.Element; this.runner.Event = window.Event; subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/lib/prototype.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/htmlutils.js', this.runner); } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-api.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-commandhandlers.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-executionloop.js', this.runner); subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium/scripts/selenium-browserbot.js', this.runner); if (this.editor.options.userExtensionsURL) { try { ExtensionsLoader.loadSubScript(subScriptLoader, this.editor.options.userExtensionsURL, this.runner); } catch (error) { this.log.error("error loading user-extensions.js: " + error); } } subScriptLoader.loadSubScript('chrome://selenium-ide/content/selenium-runner.js', this.runner); this.editor.infoPanel.logView.setLog(this.runner.LOG); this.runner.getInterval = function() { if (self.runner.testCase.debugContext.currentCommand().breakpoint) { self.paused = true; return -1; } else if (self.paused) { return -1; } else { return document.getElementById("runInterval").selectedItem.value; } } }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/9371877d02d7f62a78dc3fea91bf0c7c05395f87/debugger.js/buggy/src/content/debugger.js |
|
return -1; | return false; | function decode_base64( what ){ var base64_decodetable = new Array ( 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 62, 255, 255, 255, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 255, 255, 255, 255, 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 255, 255, 255, 255, 255, 255, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 255, 255, 255, 255, 255 ); var result = ""; var len = what.length; var x, y; var ptr = 0; while( !isNaN( x = what.charCodeAt( ptr++ ) ) ) { if( ( x > 127 ) || (( x = base64_decodetable[x] ) == 255) ) return -1; if( ( isNaN( y = what.charCodeAt( ptr++ ) ) ) || (( y = base64_decodetable[y] ) == 255) ) return -1; result += String.fromCharCode( (x << 2) | (y >> 4) ); if( (x = what.charCodeAt( ptr++ )) == 61 ) { if( (what.charCodeAt( ptr++ ) != 61) || (!isNaN(what.charCodeAt( ptr ) ) ) ) return -1; } else { if( ( x > 127 ) || (( x = base64_decodetable[x] ) == 255) ) return -1; result += String.fromCharCode( (y << 4) | (x >> 2) ); if( (y = what.charCodeAt( ptr++ )) == 61 ) { if( !isNaN(what.charCodeAt( ptr ) ) ) return -1; } else { if( (y > 127) || ((y = base64_decodetable[y]) == 255) ) return -1; result += String.fromCharCode( (x << 6) | y ); } } } return result;} | 7371 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7371/a85d4102cd173c6e1d125f5ba34ee7bd4eab5dba/base64.js/buggy/caudium/trunk/server/unfinishedmodules/formauth-digest/base64.js |
return -1; | return false; | function decode_base64( what ){ var base64_decodetable = new Array ( 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 62, 255, 255, 255, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 255, 255, 255, 255, 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 255, 255, 255, 255, 255, 255, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 255, 255, 255, 255, 255 ); var result = ""; var len = what.length; var x, y; var ptr = 0; while( !isNaN( x = what.charCodeAt( ptr++ ) ) ) { if( ( x > 127 ) || (( x = base64_decodetable[x] ) == 255) ) return -1; if( ( isNaN( y = what.charCodeAt( ptr++ ) ) ) || (( y = base64_decodetable[y] ) == 255) ) return -1; result += String.fromCharCode( (x << 2) | (y >> 4) ); if( (x = what.charCodeAt( ptr++ )) == 61 ) { if( (what.charCodeAt( ptr++ ) != 61) || (!isNaN(what.charCodeAt( ptr ) ) ) ) return -1; } else { if( ( x > 127 ) || (( x = base64_decodetable[x] ) == 255) ) return -1; result += String.fromCharCode( (y << 4) | (x >> 2) ); if( (y = what.charCodeAt( ptr++ )) == 61 ) { if( !isNaN(what.charCodeAt( ptr ) ) ) return -1; } else { if( (y > 127) || ((y = base64_decodetable[y]) == 255) ) return -1; result += String.fromCharCode( (x << 6) | y ); } } } return result;} | 7371 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7371/a85d4102cd173c6e1d125f5ba34ee7bd4eab5dba/base64.js/buggy/caudium/trunk/server/unfinishedmodules/formauth-digest/base64.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.