rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
if (!this.center && !this.isValidLonLat(lonlat)) { lonlat = this.maxExtent.getCenterLonLat(); }
setCenter: function (lonlat, zoom, dragging) { var zoomChanged = (this.isValidZoomLevel(zoom)) && (zoom != this.getZoom()); var centerChanged = (this.isValidLonLat(lonlat)) && (!lonlat.equals(this.center)); // if neither center nor zoom will change, no need to do anything if (zoomChanged || centerChanged || !dragging) { if (!dragging) { this.events.triggerEvent("movestart"); } if (centerChanged) { if ((!zoomChanged) && (this.center)) { // if zoom hasnt changed, just slide layerContainer // (must be done before setting this.center to new value) this.centerLayerContainer(lonlat); } this.center = lonlat.clone(); } // (re)set the layerContainerDiv's location if ((zoomChanged) || (this.layerContainerOrigin == null)) { this.layerContainerOrigin = this.center.clone(); this.layerContainerDiv.style.left = "0px"; this.layerContainerDiv.style.top = "0px"; } if (zoomChanged) { this.zoom = zoom; //redraw popups for (var i = 0; i < this.popups.length; i++) { this.popups[i].updatePosition(); } } //send the move call to the baselayer and all the overlays var bounds = this.getExtent(); for (var i = 0; i < this.layers.length; i++) { var layer = this.layers[i]; if (zoomChanged || (layer.display && layer.inRange())) { layer.moveTo(bounds, zoomChanged, dragging); } } this.events.triggerEvent("move"); if (zoomChanged) { this.events.triggerEvent("zoomend"); } } // even if nothing was done, we want to notify of this if (!dragging) { this.events.triggerEvent("moveend"); } },
2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/33c37ef78bf1dc3642689a6631ce5453465caa74/Map.js/buggy/lib/OpenLayers/Map.js
if (!this.center && !this.isValidLonLat(lonlat)) { lonlat = this.maxExtent.getCenterLonLat(); }
setCenter: function (lonlat, zoom, dragging) { var zoomChanged = (this.isValidZoomLevel(zoom)) && (zoom != this.getZoom()); var centerChanged = (this.isValidLonLat(lonlat)) && (!lonlat.equals(this.center)); // if neither center nor zoom will change, no need to do anything if (zoomChanged || centerChanged || !dragging) { if (!dragging) { this.events.triggerEvent("movestart"); } if (centerChanged) { if ((!zoomChanged) && (this.center)) { // if zoom hasnt changed, just slide layerContainer // (must be done before setting this.center to new value) this.centerLayerContainer(lonlat); } this.center = lonlat.clone(); } // (re)set the layerContainerDiv's location if ((zoomChanged) || (this.layerContainerOrigin == null)) { this.layerContainerOrigin = this.center.clone(); this.layerContainerDiv.style.left = "0px"; this.layerContainerDiv.style.top = "0px"; } if (zoomChanged) { this.zoom = zoom; //redraw popups for (var i = 0; i < this.popups.length; i++) { this.popups[i].updatePosition(); } } //send the move call to the baselayer and all the overlays var bounds = this.getExtent(); for (var i = 0; i < this.layers.length; i++) { var layer = this.layers[i]; if (zoomChanged || (layer.display && layer.inRange())) { layer.moveTo(bounds, zoomChanged, dragging); } } this.events.triggerEvent("move"); if (zoomChanged) { this.events.triggerEvent("zoomend"); } } // even if nothing was done, we want to notify of this if (!dragging) { this.events.triggerEvent("moveend"); } },
2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/33c37ef78bf1dc3642689a6631ce5453465caa74/Map.js/buggy/lib/OpenLayers/Map.js
this.branch.setCharPref(name, value != null ? value : '');
var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); str.data = value; this.branch.setComplexValue(name, Components.interfaces.nsISupportsString, str);
setCharPref: function(name, value) { this.branch.setCharPref(name, value != null ? value : ''); },
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/16b366175ddb220dc62a11960ddbc00d60f8001b/options.js/clean/src/content/options.js
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, arrayLevel){
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings //if(arrayLevel[1]==true){ // setRadioButtonValue(deletePostings, all); //} //else if(arrayLevel[2]==true){ // setRadioButtonValue(deletePostings, own); //} //else{ // setRadioButtonValue(deletePostings, none); //} markAsRead.checked= arrayLevel[1]; //movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[2]; newResponse.checked= arrayLevel[3]; r2R.checked= arrayLevel[4]; newTopic.checked= arrayLevel[5]; //postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[6]; //revisePostings, if(arrayLevel[7]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[8]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } //moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
read.checked= arrayLevel[6];
postGrades.checked= arrayLevel[6]; read.checked= arrayLevel[7];
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings //if(arrayLevel[1]==true){ // setRadioButtonValue(deletePostings, all); //} //else if(arrayLevel[2]==true){ // setRadioButtonValue(deletePostings, own); //} //else{ // setRadioButtonValue(deletePostings, none); //} markAsRead.checked= arrayLevel[1]; //movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[2]; newResponse.checked= arrayLevel[3]; r2R.checked= arrayLevel[4]; newTopic.checked= arrayLevel[5]; //postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[6]; //revisePostings, if(arrayLevel[7]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[8]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } //moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
if(arrayLevel[7]==true){
if(arrayLevel[8]==true){
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings //if(arrayLevel[1]==true){ // setRadioButtonValue(deletePostings, all); //} //else if(arrayLevel[2]==true){ // setRadioButtonValue(deletePostings, own); //} //else{ // setRadioButtonValue(deletePostings, none); //} markAsRead.checked= arrayLevel[1]; //movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[2]; newResponse.checked= arrayLevel[3]; r2R.checked= arrayLevel[4]; newTopic.checked= arrayLevel[5]; //postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[6]; //revisePostings, if(arrayLevel[7]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[8]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } //moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
else if(arrayLevel[8]==true){
else if(arrayLevel[9]==true){
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings //if(arrayLevel[1]==true){ // setRadioButtonValue(deletePostings, all); //} //else if(arrayLevel[2]==true){ // setRadioButtonValue(deletePostings, own); //} //else{ // setRadioButtonValue(deletePostings, none); //} markAsRead.checked= arrayLevel[1]; //movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[2]; newResponse.checked= arrayLevel[3]; r2R.checked= arrayLevel[4]; newTopic.checked= arrayLevel[5]; //postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[6]; //revisePostings, if(arrayLevel[7]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[8]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } //moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){
function setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, arrayLevel){
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); }
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10];
markAsRead.checked= arrayLevel[1]; newForum.checked= arrayLevel[2]; newResponse.checked= arrayLevel[3]; r2R.checked= arrayLevel[4]; newTopic.checked= arrayLevel[5]; read.checked= arrayLevel[6];
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
if(arrayLevel[11]==true){
if(arrayLevel[7]==true){
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
else if(arrayLevel[12]==true){
else if(arrayLevel[8]==true){
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
moderatePostings.checked= arrayLevel[13];
function setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, arrayLevel){ changeSettings.checked= arrayLevel[0]; //deletePostings if(arrayLevel[1]==true){ setRadioButtonValue(deletePostings, all); } else if(arrayLevel[2]==true){ setRadioButtonValue(deletePostings, own); } else{ setRadioButtonValue(deletePostings, none); } markAsRead.checked= arrayLevel[3]; movePosting.checked= arrayLevel[4]; newForum.checked= arrayLevel[5]; newResponse.checked= arrayLevel[6]; r2R.checked= arrayLevel[7]; newTopic.checked= arrayLevel[8]; postGrades.checked= arrayLevel[9]; read.checked= arrayLevel[10]; //revisePostings, if(arrayLevel[11]==true){ setRadioButtonValue(revisePostings, all); } else if(arrayLevel[12]==true){ setRadioButtonValue(revisePostings, own); } else{ setRadioButtonValue(revisePostings, none); } moderatePostings.checked= arrayLevel[13];}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
var conditionField = breakpoint.editor.query('
var conditionField = breakpoint.editor.query('.
function setConditionFieldText(breakpoint){ var conditionField = breakpoint.editor.query('//div[@class="condition"]'); var functionBody = breakpoint.value; if (!functionBody || functionBody == "break") functionBody = ""; else { var startIndex = functionBody.indexOf("return((") + 8; var endIndex = null; if (startIndex != 7) //-1 + 8, yes, that's lame endIndex = functionBody.lastIndexOf("))"); else { startIndex = functionBody.indexOf("{") + 1; endIndex = functionBody.lastIndexOf("}"); } functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody; conditionField.addEventListener("keyup", new Function("saveBreakpointOnLine(" + breakpoint.line + ");"), false); conditionField.focus();}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/f3853fed8fa994cfa6fd50d5433ca2d638f7955e/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
if (!functionBody) functionBody = "return -1;"; else if (functionBody == "break") functionBody = "return 1;";
if (!functionBody || functionBody == "break") functionBody = "";
function setConditionFieldText(editor, lineNum){ var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum]; if (!functionBody) functionBody = "return -1;"; else if (functionBody == "break") functionBody = "return 1;"; else { var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}"); functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody;}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/210dfad1d33be575f22d1b2fd642f203530ae57c/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
function setConditionFieldText(editor, lineNum)
function setConditionFieldText(breakpoint)
function setConditionFieldText(editor, lineNum){ var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum]; if (!functionBody || functionBody == "break") functionBody = ""; else { var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}"); functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody;}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/265b0e098271034b585404142515fee7102730f2/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum];
var conditionField = breakpoint.editor.query(' var functionBody = breakpoint.value;
function setConditionFieldText(editor, lineNum){ var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum]; if (!functionBody || functionBody == "break") functionBody = ""; else { var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}"); functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody;}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/265b0e098271034b585404142515fee7102730f2/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}");
var startIndex = functionBody.indexOf("return((") + 8; var endIndex = null; if (startIndex != 7) endIndex = functionBody.lastIndexOf("))"); else { startIndex = functionBody.indexOf("{") + 1; endIndex = functionBody.lastIndexOf("}"); }
function setConditionFieldText(editor, lineNum){ var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum]; if (!functionBody || functionBody == "break") functionBody = ""; else { var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}"); functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody;}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/265b0e098271034b585404142515fee7102730f2/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
conditionField.addEventListener("keyup", new Function("saveBreakpointOnLine(" + breakpoint.line + ");"), false); conditionField.focus();
function setConditionFieldText(editor, lineNum){ var conditionField = editor.childNodes[1].childNodes[1]; var functionBody = files[currentFile].breakpoints[lineNum]; if (!functionBody || functionBody == "break") functionBody = ""; else { var startIndex = functionBody.indexOf("{") + 1; var endIndex = functionBody.lastIndexOf("}"); functionBody = functionBody.substring(startIndex, endIndex); } conditionField.innerText = functionBody;}
10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/265b0e098271034b585404142515fee7102730f2/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/clean/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var element = $(element);
element = $(element);
Element.setContentZoom = function(element, percent) { var element = $(element); element.style.fontSize = (percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/faf42ec7194ea010e12134860f403e308129b66f/effects.js/buggy/src/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var element = $(element);
element = $(element);
Element.setContentZoom = function(element, percent) { var element = $(element); element.style.fontSize = (percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/buggy/public/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/clean/actionpack/lib/action_view/helpers/javascripts/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/9f88fb2297cec5b5fdfd81b9da4ddfa7b28a1c54/effects.js/clean/src/effects.js
var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em";
element.style.fontSize = (percent/100) + "em";
Element.setContentZoom = function(element, percent) { var element = $(element); var sizeEm = 1.0; if (element.style.fontSize.indexOf("em")>0) sizeEm = parseFloat(element.style.fontSize); element.style.fontSize = sizeEm*(percent/100) + "em"; if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);}
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/effects.js/clean/actionpack/lib/action_view/helpers/javascripts/effects.js
function SetCookie(name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false;
function SetCookie(name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false;
function SetCookie(name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; //var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; var path = "/"; //allows the tree to remain open across pages with diff names & paths name = CookieBranding(name) document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : "");}
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) +
document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) +
function SetCookie(name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; //var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; var path = "/"; //allows the tree to remain open across pages with diff names & paths name = CookieBranding(name) document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : "");}
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
document.cookie= name + &#34;=&#34; + escape(value) + ((expires) ? &#34;; expires=&#34; + expires.toGMTString() : &#34;&#34;) + ((path) ? &#34;; path=&#34; + path : &#34;&#34;) + ((domain) ? &#34;; domain=&#34; + domain : &#34;&#34;) + ((secure) ? &#34;; secure&#34; : &#34;&#34;);
document.cookie= name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");
function setCookie(name, value, expires, path, domain, secure) { document.cookie= name + &#34;=&#34; + escape(value) + ((expires) ? &#34;; expires=&#34; + expires.toGMTString() : &#34;&#34;) + ((path) ? &#34;; path=&#34; + path : &#34;&#34;) + ((domain) ? &#34;; domain=&#34; + domain : &#34;&#34;) + ((secure) ? &#34;; secure&#34; : &#34;&#34;);}
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/1922f8ac33d1c5c93a8206be4550d5567d13169b/cookies.js/clean/public/javascripts/cookies.js
debug("setCookie: null name");
debug.print("setCookie: null name");
function setCookie(name, value, days) { if (name == null) { debug("setCookie: null name"); return null; } if (value == null) { debug("setCookie: null value"); return setCookie(name, "", days); } var path = "path=/"; var expires = ""; if (days != null && days) { var date = new Date(); // expires in days-to-millis from now date.setTime( date.getTime() + (days * 24 * 3600 * 1000)); var expires = "; expires=" + date.toGMTString(); } document.cookie = name + "=" + encodeURIComponent(value) + expires + "; " + path; debug("setCookie: " + document.cookie);}
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js
debug("setCookie: null value");
debug.print("setCookie: null value");
function setCookie(name, value, days) { if (name == null) { debug("setCookie: null name"); return null; } if (value == null) { debug("setCookie: null value"); return setCookie(name, "", days); } var path = "path=/"; var expires = ""; if (days != null && days) { var date = new Date(); // expires in days-to-millis from now date.setTime( date.getTime() + (days * 24 * 3600 * 1000)); var expires = "; expires=" + date.toGMTString(); } document.cookie = name + "=" + encodeURIComponent(value) + expires + "; " + path; debug("setCookie: " + document.cookie);}
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js
debug("setCookie: " + document.cookie);
debug.print("setCookie: " + document.cookie); return null;
function setCookie(name, value, days) { if (name == null) { debug("setCookie: null name"); return null; } if (value == null) { debug("setCookie: null value"); return setCookie(name, "", days); } var path = "path=/"; var expires = ""; if (days != null && days) { var date = new Date(); // expires in days-to-millis from now date.setTime( date.getTime() + (days * 24 * 3600 * 1000)); var expires = "; expires=" + date.toGMTString(); } document.cookie = name + "=" + encodeURIComponent(value) + expires + "; " + path; debug("setCookie: " + document.cookie);}
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js
postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades");
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, noneLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, ownerLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, authorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, noneditingAuthorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, reviewerLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, noneLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, postGrades, contributorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting");
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades");
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings");
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray);
if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, ownerLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray);
else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, authorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneditingAuthorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, reviewerLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, noneLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray);
setCheckBoxes(changeSettings, markAsRead, newForum, newResponse, r2R, newTopic, read, revisePostings, contributorLevelArray);
function setCorrespondingCheckboxes(checkBox){ var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); role=getTheElement(var2[0]+":role"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } if(selectLevel.options[selectLevel.selectedIndex].value==owner){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, ownerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==author){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, authorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneditingAuthorLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, reviewerLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==none){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, noneLevelArray); } else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){ setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse, r2R, newTopic, postGrades, read,revisePostings, moderatePostings, contributorLevelArray); } roleValue=role.options[var2[2]].value; var lev=selectLevel.options[selectLevel.selectedIndex].text; var newval=roleValue+"("+lev+")"; role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades");
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + read + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ //var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn];
var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn];
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); //deleteAny=getDeleteAny(deletePostings); //deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + read + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ //var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/bcf9947ac5a551a151fe89531c77f9ceefda0689/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js
deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings);
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting");
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades");
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings");
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){
if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked];
var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn];
function setCorrespondingLevel(checkBox){ //alert(checkBox); var2 = checkBox.split(":"); selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level"); //alert(selectLevel); changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting"); deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings"); deleteAny=getDeleteAny(deletePostings); deleteOwn=getDeleteOwn(deletePostings); markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead"); movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting"); newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum"); newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR"); r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR"); newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic"); postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades"); read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read"); revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings") reviseAny=getReviseAny(revisePostings); reviseOwn= getReviseOwn(revisePostings); moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings"); if(selectLevel){ if(!(changeSettings && markAsRead && movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){ //alert(changeSettings + " " + markAsRead + " " + movePosting + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + postGrades + " " + read &&moderatePostings + " " + deletePostings + " " + revisePostings); setIndexWithTextValue(selectLevel, custom) } else{ var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked]; //alert(newArray); //alert(checkLevel(newArray)); setIndexWithTextValue(selectLevel, checkLevel(newArray)); } role=getTheElement(var2[0]+":role"); //alert(role); roleValue=role.options[var2[2]].value; //alert(roleValue); var lev=selectLevel.options[selectLevel.selectedIndex].text; //alert(lev); var newval=roleValue+"("+lev+")"; //alert(newval); role.options[var2[2]]=new Option(newval, roleValue, true); role.options[var2[2]].selected=true; }}
6080 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/5d9d800d7e3044947e6eae8bfb6141b7c219c847/permissions_header.js/clean/messageforums-app/src/webapp/js/permissions_header.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(Element.getStyle(element,'position')=='absolute') {
if(Element.getStyle(this.element,'position')=='absolute') {
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { topd = (height - this.originalHeight)/2; leftd = (width - this.originalWidth)/2; if(Element.getStyle(element,'position')=='absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/0011d3129272d6f91b0a21805a53483e3486ce00/effects.js/clean/src/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/railties/html/javascripts/effects.js
if(this.options.scaleX) d.width = width + 'px'; if(this.options.scaleY) d.height = height + 'px';
if(this.options.scaleX) d.width = Math.round(width) + 'px'; if(this.options.scaleY) d.height = Math.round(height) + 'px';
setDimensions: function(height, width) { var d = {}; if(this.options.scaleX) d.width = width + 'px'; if(this.options.scaleY) d.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) d.top = this.originalTop-topd + 'px'; if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px'; } else { if(this.options.scaleY) d.top = -topd + 'px'; if(this.options.scaleX) d.left = -leftd + 'px'; } } this.element.setStyle(d); }
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/5655808eef3dc8f0758823afe07771c19ae14f93/effects.js/clean/src/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/clean/railties/html/javascripts/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px";
if(this.options.scaleY) els.top = this.originalTop-topd + "px"; if(this.options.scaleX) els.left = this.originalLeft-leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px";
if(this.options.scaleY) els.top = -topd + "px"; if(this.options.scaleX) els.left = -leftd + "px";
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px';
setDimensions: function(height, width) { var els = this.element.style; if(this.options.scaleX) els.width = width + 'px'; if(this.options.scaleY) els.height = height + 'px';
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2;
var topd = (height - this.dims[0])/2; var leftd = (width - this.dims[1])/2;
setDimensions: function(width, height) { if(this.options.scaleX) this.element.style.width = width + 'px'; if(this.options.scaleY) this.element.style.height = height + 'px'; if(this.options.scaleFromCenter) { var topd = (height - this.originalHeight)/2; var leftd = (width - this.originalWidth)/2; if(this.elementPositioning == 'absolute') { if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; } else { if(this.options.scaleY) this.element.style.top = -topd + "px"; if(this.options.scaleX) this.element.style.left = -leftd + "px"; } } }
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js