rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 13
136k
| meta
stringlengths 132
347
|
---|---|---|---|
} | }, | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var element = $(element); | element = $(element); | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) | if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
} | }, | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/railties/html/javascripts/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/railties/html/javascripts/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/buggy/railties/html/javascripts/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/a88bd086d7457c74579ba63d8ab7a51122253237/prototype.js/clean/lib/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/a88bd086d7457c74579ba63d8ab7a51122253237/prototype.js/clean/lib/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var element = $(element); | element = $(element); | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var element = $(element); | element = $(element); | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; | var node = element.firstChild; while (node) { var nextNode = node.nextSibling; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
Element.remove(node); | element.removeChild(node); node = nextNode; | cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var element = $(element); | element = $(element); | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } } | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
for (i = 0; i < arguments.length; i++) | for (var i = 0; i < arguments.length; i++) | clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js |
/* We are going to a line-mode thing... re-enable CTRL keys. */ console.ctrlkey_passthru=orig_passthru; | function clear_screen(){ /* * Called whenever a command needs to exit the menu for user interaction. * * If you'd like a header before non-menu stuff, this is the place to put * it. */ console.attributes=7; console.clear();} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/34f6c69cd3ce42ea1878ef314f794dabc773eb90/lbshell.js/clean/lbshell.js |
|
if(!tinyMCE.settings['contextmenu_skip_plugin_css']){tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css");}var TinyMCE_ContextMenuPlugin={_contextMenu:null,getInfo:function(){return{longname:'Context menus',author:'Moxiecode Systems',authorurl:'http: | if(!tinyMCE.settings['contextmenu_skip_plugin_css']){tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css")}var TinyMCE_ContextMenuPlugin={_contextMenu:null,getInfo:function(){return{longname:'Context menus',author:'Moxiecode Systems AB',authorurl:'http: | if(!tinyMCE.settings['contextmenu_skip_plugin_css']){tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css");}var TinyMCE_ContextMenuPlugin={_contextMenu:null,getInfo:function(){return{longname:'Context menus',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isMSIE5_0&&tinyMCE.isOpera)return;TinyMCE_ContextMenuPlugin._contextMenu=new TinyMCE_ContextMenu({commandhandler:"TinyMCE_ContextMenuPlugin._commandHandler",spacer_image:tinyMCE.baseURL+"/plugins/contextmenu/images/spacer.gif"});tinyMCE.addEvent(inst.getDoc(),"click",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"click",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"contextmenu",function(e){TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?inst.contentWindow.event:e,inst);});}else tinyMCE.addEvent(inst.getDoc(),"contextmenu",TinyMCE_ContextMenuPlugin._onContextMenu);},_onContextMenu:function(e){var elm=tinyMCE.isMSIE?e.srcElement:e.target;var targetInst,body;if((body=tinyMCE.getParentElement(elm,"body"))!=null){for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;if(body==inst.getBody()){targetInst=inst;break;}}return TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?targetInst.contentWindow.event:e,targetInst);}},_showContextMenu:function(e,inst){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):"";}var x,y,elm,contextMenu;var pos=tinyMCE.getAbsPosition(inst.iframeElement);x=tinyMCE.isMSIE?e.screenX:pos.absLeft+(e.pageX-inst.getBody().scrollLeft);y=tinyMCE.isMSIE?e.screenY:pos.absTop+(e.pageY-inst.getBody().scrollTop);elm=tinyMCE.isMSIE?e.srcElement:e.target;contextMenu=this._contextMenu;contextMenu.inst=inst;window.setTimeout(function(){var theme=tinyMCE.getParam("theme");contextMenu.clearAll();var sel=inst.selection.getSelectedText().length!=0||elm.nodeName=="IMG";contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_cut_desc","Cut","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_copy_desc","Copy","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_paste_desc","Paste","",false);if(sel||(elm?(elm.nodeName=='A')||(elm.nodeName=='IMG'):false)){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/advanced/images/link.gif","$lang_link_desc",inst.hasPlugin("advlink")?"mceAdvLink":"mceLink");contextMenu.addItem(tinyMCE.baseURL+"/themes/advanced/images/unlink.gif","$lang_unlink_desc","unlink","",(elm?(elm.nodeName!='A')&&(elm.nodeName!='IMG'):true));}elm=tinyMCE.getParentElement(elm,"img,table,td"+(inst.hasPlugin("advhr")?',hr':''));if(elm){switch(elm.nodeName){case"IMG":contextMenu.addSeparator();if(tinyMCE.getAttrib(elm,'class').indexOf('mceItemFlash')!=-1)contextMenu.addItem(tinyMCE.baseURL+"/plugins/flash/images/flash.gif","$lang_flash_props","mceFlash");else contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/image.gif","$lang_image_props_desc",inst.hasPlugin("advimage")?"mceAdvImage":"mceImage");break;case"HR":contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/advhr/images/advhr.gif","$lang_insert_advhr_desc","mceAdvancedHr");break;case"TABLE":case"TD":if(inst.hasPlugin("table")){var colspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"colspan");var rowspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_table_cut_row_desc","mceTableCutRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_table_copy_row_desc","mceTableCopyRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_before_desc","mceTablePasteRowBefore","",inst.tableRowClipboard==null);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_after_desc","mceTablePasteRowAfter","",inst.tableRowClipboard==null);contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_props_desc","mceInsertTable");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_cell_props.gif","$lang_table_cell_desc","mceTableCellProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete.gif","$lang_table_del","mceTableDelete");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_row_props.gif","$lang_table_row_desc","mceTableRowProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_before.gif","$lang_table_row_before_desc","mceTableInsertRowBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_after.gif","$lang_table_row_after_desc","mceTableInsertRowAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_row.gif","$lang_table_delete_row_desc","mceTableDeleteRow");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_before.gif","$lang_table_col_before_desc","mceTableInsertColBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_after.gif","$lang_table_col_after_desc","mceTableInsertColAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_col.gif","$lang_table_delete_col_desc","mceTableDeleteCol");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_split_cells.gif","$lang_table_split_cells_desc","mceTableSplitCells","",(colspan=="1"&&rowspan=="1"));contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_merge_cells.gif","$lang_table_merge_cells_desc","mceTableMergeCells","",false);}break;}}else{if(inst.hasPlugin("table")){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");}}contextMenu.show(x,y);},10);tinyMCE.cancelEvent(e);return false;},_hideContextMenu:function(){if(TinyMCE_ContextMenuPlugin._contextMenu)TinyMCE_ContextMenuPlugin._contextMenu.hide();},_commandHandler:function(command,value){var cm=TinyMCE_ContextMenuPlugin._contextMenu;cm.hide();var ui=false;if(command=="mceInsertTable"||command=="mceTableCellProps"||command=="mceTableRowProps"||command=="mceTableMergeCells")ui=true;if(command=="Paste")value=null;if(tinyMCE.getParam("dialog_type")=="modal"&&tinyMCE.isMSIE){window.setTimeout(function(){cm.inst.execCommand(command,ui,value);},100);}else cm.inst.execCommand(command,ui,value);}};tinyMCE.addPlugin("contextmenu",TinyMCE_ContextMenuPlugin);function TinyMCE_ContextMenu(settings){function defParam(key,def_val){settings[key]=typeof(settings[key])!="undefined"?settings[key]:def_val;}var self=this;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.contextMenuDiv=document.createElement("div");this.contextMenuDiv.className="contextMenu";this.contextMenuDiv.setAttribute("class","contextMenu");this.contextMenuDiv.style.display="none";this.contextMenuDiv.style.position='absolute';this.contextMenuDiv.style.zindex=1000;this.contextMenuDiv.style.left='0';this.contextMenuDiv.style.top='0';this.contextMenuDiv.unselectable="on";document.body.appendChild(this.contextMenuDiv);defParam("commandhandler","");defParam("spacer_image","images/spacer.gif");this.items=new Array();this.settings=settings;this.html="";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera){this.pop=window.createPopup();doc=this.pop.document;doc.open();doc.write('<html><head><link href="'+tinyMCE.baseURL+'/plugins/contextmenu/css/contextmenu.css" rel="stylesheet" type="text/css" /></head><body unselectable="yes" class="contextMenuIEPopup"></body></html>');doc.close();}};TinyMCE_ContextMenu.prototype={clearAll:function(){this.html="";this.contextMenuDiv.innerHTML="";},addSeparator:function(){this.html+='<tr class="contextMenuItem"><td class="contextMenuIcon"><img src="'+this.settings['spacer_image']+'" width="20" height="1" class="contextMenuImage" /></td><td><img class="contextMenuSeparator" width="1" height="1" src="'+this.settings['spacer_image']+'" /></td></tr>';},addItem:function(icon,title,command,value,disabled){if(title.charAt(0)=='$')title=tinyMCE.getLang(title.substring(1));var onMouseDown='';var html='';if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0)onMouseDown='contextMenu.execCommand(\''+command+'\', \''+value+'\');return false;';else onMouseDown=this.settings['commandhandler']+'(\''+command+'\', \''+value+'\');return false;';if(icon=="")icon=this.settings['spacer_image'];if(!disabled)html+='<tr class="contextMenuItem">';else html+='<tr class="contextMenuItemDisabled">';html+='<td class="contextMenuIcon"><img src="'+icon+'" width="20" height="20" class="contextMenuImage" /></td>';html+='<td><div class="contextMenuText">';html+='<a href="javascript:void(0);" onclick="'+onMouseDown+'" onmousedown="return false;"> ';html+=title;html+=' </a>';html+='</div></td>';html+='</tr>';this.html+=html;},show:function(x,y){var vp,width,height;if(this.html=="")return;var html='';html+='<a href="#"></a><table border="0" cellpadding="0" cellspacing="0">';html+=this.html;html+='</table>';this.contextMenuDiv.innerHTML=html;this.contextMenuDiv.style.display="block";width=this.contextMenuDiv.offsetWidth;height=this.contextMenuDiv.offsetHeight;this.contextMenuDiv.style.display="none";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera){this.pop.document.body.innerHTML='<div class="contextMenu">'+html+"</div>";this.pop.document.tinyMCE=tinyMCE;this.pop.document.contextMenu=this;this.pop.show(x,y,width,height);}else{vp=this.getViewPort();this.contextMenuDiv.style.left=(x>vp.width-width?vp.width-width:x)+'px';this.contextMenuDiv.style.top=(y>vp.height-height?vp.height-height:y)+'px';this.contextMenuDiv.style.display="block";}},getViewPort:function(){return{width:document.documentElement.offsetWidth||document.body.offsetWidth,height:self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight};},hide:function(){if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera)this.pop.hide();else this.contextMenuDiv.style.display="none";},execCommand:function(command,value){eval(this.settings['commandhandler']+"(command, value);");}}; | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js |
bgh=mtop-ypos; /* Height is here to the message window */ | bgh=height; | function cleararea(xpos,ypos,width,height,eol_allowed){ /* * This function "clears" an area of the screen to the * background. * eol_allowed indicates that you can clear to eol without * breaking anything. */ var x; var y; if(use_bg) { var bgx; var bgy; var bgw; var bbh; var bgxo; var bgyo; var between; var mtop; /* Redraw main menu line if asked */ if(ypos==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); ypos++; height--; } /* Calculate the position of the top line of the message window */ mtop=console.screen_rows-msg_rows+1; /* Calculate the correct values for the Bagkround draw */ bgx=xpos; bgy=ypos; bgxo=xpos-1; /* zero-based */ bgyo=ypos-2; /* zero-based and make allowance for top line (The top of BackGround is at line 2) */ bgw=width; bgh=mtop-ypos; /* Height is here to the message window */ if(bgyo+bgh>BackGround.height) /* Too high? */ bgh=BackGround.height-bgyo; if(ypos+bgh > mtop) bgh=mtop-ypos; if(bgw>0 && bgh>0) { /* Anything to draw? */ BackGround.draw(bgx,bgy,bgw,bgh,bgxo,bgyo); /* Decrement height, increment ypos to account for drawn area */ ypos+=bgh; height-=bgh; } if(height<=0) /* All done? */ return; while(height>0 && ypos < mtop) { console.gotoxy(1,ypos); console.attributes=LBShell_Attr; console.cleartoeol(); ypos++; height--; } if(height<=0) /* All done? */ return; /* Calculate the correct values for the MessageWindow draw */ bgx=xpos; bgy=ypos; bgxo=xpos-1; /* zero-based */ bgyo=ypos-2; bgw=width; bgh=height; /* The rest is all message baby */ MessageWindow.draw(bgx,bgy,bgw,bgh,bgxo,bgyo); return; } for(y=ypos; y<ypos+height; y++) { if(eol_allowed) { if(y==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); } else if(y<console.screen_rows-8) { console.gotoxy(xpos,y); console.attributes=LBShell_Attr; console.cleartoeol(); } else { console.gotoxy(1,y); switch(y) { case console.screen_rows-8: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01n\x01h\xdc\xdc\xdc\xdc \xdb \xdc\xdc \xdc\xdc\xde\xdb \xdc \xdc\xdc\xdc\xdc \xdc\xdc \xdc\xdc \xdc\xdc\xdc\xdc\xdc\xdc\xdc \x01n\x01b\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc "); break; case console.screen_rows-7: console.attributes=LBShell_Attr; console.putmsg("\x01h\x01c\x016\xdf\x01n\x01c\xdc\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01n\x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\xdc\xdc\x01h\xdf \x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n\x01c\xdc\xdc \xdc\x01bgj \xdb\x01w\x014@TIME-L@ @DATE@ \x01y\x01h@BOARDNAME-L19@ \x01n "); break; case console.screen_rows-6: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\x01h\x014\xdf\x01n\x01b\xdd\x01h\xdf\x014\xdf\x010\xdf \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\x01n\x01b\xdb\x01h\x01w\x014Last On\x01k: \x01n\x014@LASTDATEON@ \x01h\x01cNode \x01k\x01n\x01c\x014@NODE-L3@ \x01wUp \x01c@UPTIME-L8@\x01n "); break; case console.screen_rows-5: console.attributes=LBShell_Attr; console.putmsg("\x01n\x01b \xdf\xdf \xdf \xdf \xdb\xdd\xdf\xdf\xdf\xdf \xdb\xdd \xdb\xdb\xdf\xdf \xdf \xdb\xdd\xdf\xdf\xdf \xdf \xdb\x014\x01h\x01wFirstOn\x01k:\x01n\x014 @SINCE@ \x01h\x01cCalls\x01n\x01c\x014@SERVED-R4@ \x01wof\x01c @TCALLS-L7@\x01n "); break; case console.screen_rows-4: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf "); break; case console.screen_rows-3: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c[\x01h@GN@\x01n\x01c] @GRP@ [\x01h@SN@\x01n\x01c] @SUB@\x01n\r\n"); break; case console.screen_rows-2: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c(\x01h@LN@\x01n\x01c) @LIB@ (\x01h@DN@\x01n\x01c) @DIR@\x01n\r\n"); break; case console.screen_rows-1: console.attributes=LBShell_Attr; console.cleartoeol(); break; case console.screen_rows: console.attributes=LBShell_Attr; console.cleartoeol(); break; } } } else { /* Not allowed to clear to eol... */ /* * Right now, we're ***assuming*** that second-level menus are * never touching the bottom stuff. */ if(y==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); } else if(y<console.screen_rows-8) { console.attributes=LBShell_Attr; console.gotoxy(xpos,y); for(x=xpos; x<xpos+width; x++) console.write(' '); } else { console.gotoxy(1,y); switch(y) { case console.screen_rows-8: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01n\x01h\xdc\xdc\xdc\xdc \xdb \xdc\xdc \xdc\xdc\xde\xdb \xdc \xdc\xdc\xdc\xdc \xdc\xdc \xdc\xdc \xdc\xdc\xdc\xdc\xdc\xdc\xdc \x01n\x01b\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc "); break; case console.screen_rows-7: console.attributes=LBShell_Attr; console.putmsg("\x01h\x01c\x016\xdf\x01n\x01c\xdc\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01n\x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\xdc\xdc\x01h\xdf \x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n\x01c\xdc\xdc \xdc\x01bgj \xdb\x01w\x014@TIME-L@ @DATE@ \x01y\x01h@BOARDNAME-L19@ \x01n "); break; case console.screen_rows-6: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\x01h\x014\xdf\x01n\x01b\xdd\x01h\xdf\x014\xdf\x010\xdf \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\x01n\x01b\xdb\x01h\x01w\x014Last On\x01k: \x01n\x014@LASTDATEON@ \x01h\x01cNode \x01k\x01n\x01c\x014@NODE-L3@ \x01wUp \x01c@UPTIME-L8@\x01n "); break; case console.screen_rows-5: console.attributes=LBShell_Attr; console.putmsg("\x01n\x01b \xdf\xdf \xdf \xdf \xdb\xdd\xdf\xdf\xdf\xdf \xdb\xdd \xdb\xdb\xdf\xdf \xdf \xdb\xdd\xdf\xdf\xdf \xdf \xdb\x014\x01h\x01wFirstOn\x01k:\x01n\x014 @SINCE@ \x01h\x01cCalls\x01n\x01c\x014@SERVED-R4@ \x01wof\x01c @TCALLS-L7@\x01n "); break; case console.screen_rows-4: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf "); break; case console.screen_rows-3: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c[\x01h@GN@\x01n\x01c] @GRP@ [\x01h@SN@\x01n\x01c] @SUB@\x01n\r\n"); break; case console.screen_rows-2: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c(\x01h@LN@\x01n\x01c) @LIB@ (\x01h@DN@\x01n\x01c) @DIR@\x01n\r\n"); break; case console.screen_rows-1: console.attributes=LBShell_Attr; console.cleartoeol(); break; case console.screen_rows: console.attributes=LBShell_Attr; console.cleartoeol(); break; } } } }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/87c96b6251ca3f3d90f462f2d045a452869ea929/lbshell.js/clean/lbshell.js |
if(height-(ypos-2)>BackGround.height) { | if(height+(ypos-2)>BackGround.height) { | function cleararea(xpos,ypos,width,height,eol_allowed){ /* * This function "clears" an area of the screen to the * background. * eol_allowed indicates that you can clear to eol without * breaking anything. */ var x; var y; if(use_bg) { if(ypos==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); ypos++; height--; } if(height-(ypos-2)>BackGround.height) { BackGround.draw(xpos,ypos,width,BackGround.height-(ypos-2),xpos-1,ypos-2); for(y=ypos+(BackGround.height-(ypos-2));y<=console.screen_rows;y++) { console.gotoxy(1,y); console.attributes=LBShell_Attr; console.cleartoeol(); } } else BackGround.draw(xpos,ypos,width,height,xpos-1,ypos-2); return; } for(y=ypos; y<ypos+height; y++) { if(eol_allowed) { if(y==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); } else if(y<console.screen_rows-8) { console.gotoxy(xpos,y); console.attributes=LBShell_Attr; console.cleartoeol(); } else { console.gotoxy(1,y); switch(y) { case console.screen_rows-8: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01n\x01h\xdc\xdc\xdc\xdc \xdb \xdc\xdc \xdc\xdc\xde\xdb \xdc \xdc\xdc\xdc\xdc \xdc\xdc \xdc\xdc \xdc\xdc\xdc\xdc\xdc\xdc\xdc \x01n\x01b\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc "); break; case console.screen_rows-7: console.attributes=LBShell_Attr; console.putmsg("\x01h\x01c\x016\xdf\x01n\x01c\xdc\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01n\x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\xdc\xdc\x01h\xdf \x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n\x01c\xdc\xdc \xdc\x01bgj \xdb\x01w\x014@TIME-L@ @DATE@ \x01y\x01h@BOARDNAME-L19@ \x01n "); break; case console.screen_rows-6: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\x01h\x014\xdf\x01n\x01b\xdd\x01h\xdf\x014\xdf\x010\xdf \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\x01n\x01b\xdb\x01h\x01w\x014Last On\x01k: \x01n\x014@LASTDATEON@ \x01h\x01cNode \x01k\x01n\x01c\x014@NODE-L3@ \x01wUp \x01c@UPTIME-L8@\x01n "); break; case console.screen_rows-5: console.attributes=LBShell_Attr; console.putmsg("\x01n\x01b \xdf\xdf \xdf \xdf \xdb\xdd\xdf\xdf\xdf\xdf \xdb\xdd \xdb\xdb\xdf\xdf \xdf \xdb\xdd\xdf\xdf\xdf \xdf \xdb\x014\x01h\x01wFirstOn\x01k:\x01n\x014 @SINCE@ \x01h\x01cCalls\x01n\x01c\x014@SERVED-R4@ \x01wof\x01c @TCALLS-L7@\x01n "); break; case console.screen_rows-4: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf "); break; case console.screen_rows-3: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c[\x01h@GN@\x01n\x01c] @GRP@ [\x01h@SN@\x01n\x01c] @SUB@\x01n\r\n"); break; case console.screen_rows-2: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c(\x01h@LN@\x01n\x01c) @LIB@ (\x01h@DN@\x01n\x01c) @DIR@\x01n\r\n"); break; case console.screen_rows-1: console.attributes=LBShell_Attr; console.cleartoeol(); break; case console.screen_rows: console.attributes=LBShell_Attr; console.cleartoeol(); break; } } } else { /* Not allowed to clear to eol... */ /* * Right now, we're ***assuming*** that second-level menus are * never touching the bottom stuff. */ if(y==1) { console.gotoxy(1,1); console.attributes=0x17; console.cleartoeol(); mainbar.draw(); } else if(y<console.screen_rows-8) { console.attributes=LBShell_Attr; console.gotoxy(xpos,y); for(x=xpos; x<xpos+width; x++) console.write(' '); } else { console.gotoxy(1,y); switch(y) { case console.screen_rows-8: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01n\x01h\xdc\xdc\xdc\xdc \xdb \xdc\xdc \xdc\xdc\xde\xdb \xdc \xdc\xdc\xdc\xdc \xdc\xdc \xdc\xdc \xdc\xdc\xdc\xdc\xdc\xdc\xdc \x01n\x01b\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc\xdc "); break; case console.screen_rows-7: console.attributes=LBShell_Attr; console.putmsg("\x01h\x01c\x016\xdf\x01n\x01c\xdc\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01n\x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\x01h\x016\xdf\x01n\x01c\xdc\xdc\xdc\x01h\xdf \x016\xdf\x01n \x01h\x016\xdf\x01n \x01c\xdc \x01h\x016\xdf\x01n \x01h\x016\xdf\x01n\x01c\xdc\xdc \xdc\x01bgj \xdb\x01w\x014@TIME-L@ @DATE@ \x01y\x01h@BOARDNAME-L19@ \x01n "); break; case console.screen_rows-6: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\x01h\x014\xdf\x01n\x01b\xdd\x01h\xdf\x014\xdf\x010\xdf \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x01n\x01b\xdd\x01h\x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\xdf\x010 \x014\x01n\x01b\xdb\x01h\x01w\x014Last On\x01k: \x01n\x014@LASTDATEON@ \x01h\x01cNode \x01k\x01n\x01c\x014@NODE-L3@ \x01wUp \x01c@UPTIME-L8@\x01n "); break; case console.screen_rows-5: console.attributes=LBShell_Attr; console.putmsg("\x01n\x01b \xdf\xdf \xdf \xdf \xdb\xdd\xdf\xdf\xdf\xdf \xdb\xdd \xdb\xdb\xdf\xdf \xdf \xdb\xdd\xdf\xdf\xdf \xdf \xdb\x014\x01h\x01wFirstOn\x01k:\x01n\x014 @SINCE@ \x01h\x01cCalls\x01n\x01c\x014@SERVED-R4@ \x01wof\x01c @TCALLS-L7@\x01n "); break; case console.screen_rows-4: console.attributes=LBShell_Attr; console.putmsg("\x01n \x01b\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf\xdf "); break; case console.screen_rows-3: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c[\x01h@GN@\x01n\x01c] @GRP@ [\x01h@SN@\x01n\x01c] @SUB@\x01n\r\n"); break; case console.screen_rows-2: console.attributes=7; console.cleartoeol(); console.putmsg(" \x01n\x01c(\x01h@LN@\x01n\x01c) @LIB@ (\x01h@DN@\x01n\x01c) @DIR@\x01n\r\n"); break; case console.screen_rows-1: console.attributes=LBShell_Attr; console.cleartoeol(); break; case console.screen_rows: console.attributes=LBShell_Attr; console.cleartoeol(); break; } } } }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/b687bd2ddbcc1d81055b76945e638a0771587af7/lbshell.js/clean/lbshell.js |
OpenLayers.Util.clearArray(row[iCol]); | row[iCol].destroy(); | clearGrid:function() { if (this.grid) { for(var iRow=0; iRow < this.grid.length; iRow++) { var row = this.grid[iRow]; for(var iCol=0; iCol < row.length; iCol++) { OpenLayers.Util.clearArray(row[iCol]); } } } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
this.grid = []; | clearGrid:function() { if (this.grid) { for(var iRow=0; iRow < this.grid.length; iRow++) { var row = this.grid[iRow]; for(var iCol=0; iCol < row.length; iCol++) { OpenLayers.Util.clearArray(row[iCol]); } } } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
|
while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); | if (this.grid) { while(this.grid.length > 0) { var row = this.grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } this.grid.remove(row); | clearGrid:function() { while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } grid.remove(row); } } | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/61d3c4412f8df939fe9339727859efa2c52c664f/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
grid.remove(row); | clearGrid:function() { while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } grid.remove(row); } } | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/61d3c4412f8df939fe9339727859efa2c52c664f/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
|
OpenLayers.Util.clearArray(row[iCol]); | row[iCol].destroy(); | clearGrid:function() { if (this.grid) { for(var iRow=0; iRow < this.grid.length; iRow++) { var row = this.grid[iRow]; for(var iCol=0; iCol < row.length; iCol++) { OpenLayers.Util.clearArray(row[iCol]); } } } }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
this.grid = []; | clearGrid:function() { if (this.grid) { for(var iRow=0; iRow < this.grid.length; iRow++) { var row = this.grid[iRow]; for(var iCol=0; iCol < row.length; iCol++) { OpenLayers.Util.clearArray(row[iCol]); } } } }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
|
while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); | if (this.grid) { while(this.grid.length > 0) { var row = this.grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } this.grid.remove(row); | clearGrid:function() { while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } grid.remove(row); } } | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/61d3c4412f8df939fe9339727859efa2c52c664f/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
grid.remove(row); | clearGrid:function() { while(grid.length > 0) { var row = grid[0]; while(row.length > 0) { var tile = row[0]; tile.destroy(); row.remove(tile); } grid.remove(row); } } | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/61d3c4412f8df939fe9339727859efa2c52c664f/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
|
function clearHideTimers() | function clearHideTimers(from) | function clearHideTimers(){ for(var i = popups.length - 1; i >= 0; i--) if(popups[i].hide_timer) { clearTimeout(popups[i].hide_timer); popups[i].hide_timer = null; }} | 2059 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/49158e08aa5e82a054541ddf230afd4743ecc5df/Popup.js/clean/server/modules/tags/javascript_support/scripts/Popup.js |
for(var i = popups.length - 1; i >= 0; i--) | for(var i = from; i >= 0; i--) | function clearHideTimers(){ for(var i = popups.length - 1; i >= 0; i--) if(popups[i].hide_timer) { clearTimeout(popups[i].hide_timer); popups[i].hide_timer = null; }} | 2059 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/49158e08aa5e82a054541ddf230afd4743ecc5df/Popup.js/clean/server/modules/tags/javascript_support/scripts/Popup.js |
function clearMenu(){ if(oTd!=null){ var tdo=new Array(); tdo=oTd.id.split("_"); var sT=""; for(var i=1;i<tdo.length;i++){ sT+="_"+tdo[i]; document.getElementById("td"+sT).style.backgroundColor=tdBgColor; document.getElementById("td"+sT).style.color=tdColor; if(document.getElementById("tbl"+sT)!=null) document.getElementById("tbl"+sT).style.visibility="hidden"; | function clearMenu() { if (oTd != null) { var tdo = new Array(); tdo = oTd.id.split("_"); var sT = ""; for (var i = 1; i < tdo.length; i++) { sT += "_" + tdo[i]; document.getElementById("td" + sT).style.backgroundColor = tdBgColor; document.getElementById("td" + sT).style.color = tdColor; if (document.getElementById("tbl" + sT) != null) document.getElementById("tbl" + sT).style.visibility = "hidden"; | function clearMenu(){ if(oTd!=null){ var tdo=new Array(); tdo=oTd.id.split("_"); var sT=""; for(var i=1;i<tdo.length;i++){ sT+="_"+tdo[i]; document.getElementById("td"+sT).style.backgroundColor=tdBgColor; document.getElementById("td"+sT).style.color=tdColor; if(document.getElementById("tbl"+sT)!=null) document.getElementById("tbl"+sT).style.visibility="hidden"; } oTd=null; }} | 3489 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3489/f6a8c7ae74d4ac02e1cbd8ad6e426d17ff68c0fd/menu_script.js/buggy/Documentation/Scripts/menu_script.js |
oTd=null; | oTd = null; | function clearMenu(){ if(oTd!=null){ var tdo=new Array(); tdo=oTd.id.split("_"); var sT=""; for(var i=1;i<tdo.length;i++){ sT+="_"+tdo[i]; document.getElementById("td"+sT).style.backgroundColor=tdBgColor; document.getElementById("td"+sT).style.color=tdColor; if(document.getElementById("tbl"+sT)!=null) document.getElementById("tbl"+sT).style.visibility="hidden"; } oTd=null; }} | 3489 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3489/f6a8c7ae74d4ac02e1cbd8ad6e426d17ff68c0fd/menu_script.js/buggy/Documentation/Scripts/menu_script.js |
debug("clearQueryHistory: null historyNode"); | debug.print("clearQueryHistory: null historyNode"); | function clearQueryHistory() { var historyNode = document.getElementById(g_cq_history_node); if (! historyNode) { debug("clearQueryHistory: null historyNode"); return; } removeChildNodes(historyNode);} | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
removeChildNodes(historyNode); | historyNode.removeChildNodes(); | function clearQueryHistory() { var historyNode = document.getElementById(g_cq_history_node); if (! historyNode) { debug("clearQueryHistory: null historyNode"); return; } removeChildNodes(historyNode);} | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
historyNode.removeChildNodes(); | removeChildNodes(historyNode); | function clearQueryHistory() { var historyNode = document.getElementById(g_cq_history_node); if (! historyNode) { debug.print("clearQueryHistory: null historyNode"); return; } historyNode.removeChildNodes();} | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/6b355f08875fd342ed1dc304b04eaed9f1da1046/cq.js/buggy/cq.js |
clearHideTimers(); | clearHideTimers(popups.length - 1); | function clearToPopup(popup){ // Remove all hide timers clearHideTimers(); while(popups.length > 0 && popup != popups[popups.length - 1].name) { hide(popups[popups.length - 1].name); popups.length--; }} | 2059 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/49158e08aa5e82a054541ddf230afd4743ecc5df/Popup.js/clean/server/modules/tags/javascript_support/scripts/Popup.js |
var tagName = event.target.tagName.toLowerCase(); var type = event.target.type; if (event.target.hasAttribute("onclick") || event.target.hasAttribute("href") || (tagName == "input" && (type == "submit" || type == "button" || type == "image" || type == "radio" || type == "checkbox"))) { self.listener.addCommand("click", getLocator(window, event.target), '', window); | var clickable = findClickableElement(event.target); if (clickable) { self.listener.addCommand("click", getLocator(window, clickable), '', window); | click: function(event) { var tagName = event.target.tagName.toLowerCase(); var type = event.target.type; if (event.target.hasAttribute("onclick") || event.target.hasAttribute("href") || (tagName == "input" && (type == "submit" || type == "button" || type == "image" || type == "radio" || type == "checkbox"))) { self.listener.addCommand("click", getLocator(window, event.target), '', window); } } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c950ca6f6d08aee4c1c8dccebdc1a9012fdcdcc5/recorder-events.js/clean/src/content/recorder-events.js |
} | }, | click: function(event) { var tagName = event.target.tagName.toLowerCase(); var type = event.target.type; if (event.target.hasAttribute("onclick") || event.target.hasAttribute("href") || (tagName == "input" && (type == "submit" || type == "button" || type == "image" || type == "radio" || type == "checkbox"))) { self.listener.addCommand("click", getLocator(window, event.target), '', window); } } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c950ca6f6d08aee4c1c8dccebdc1a9012fdcdcc5/recorder-events.js/clean/src/content/recorder-events.js |
HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | windowObject.HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/40101f37ab8b5f25202111634151140a0768541b/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | windowObject.HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | HTMLAnchorElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a571d0ab29c9c650dde37a79dcc38968ddf4302c/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } | */ var wasChecked = element.checked; triggerEvent(element, 'click', false); element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); | function clickElement(element, loadCallback) { if (loadCallback) { var el = new SelfRemovingLoadListener(loadCallback); addLoadListener(getIframe(), el.invoke); } triggerEvent(element, 'focus', false); // If this is a javascript call ("javascript:foo()"), pull out the // function part and just call that. if(element.toString().indexOf("javascript") == 0) { array = element.toString().split(':'); // Prepend the window onto the javascript function. This is very // hacky, but if we don't do this, the function can't be found. eval("getContentWindow().window." + currentWindow + "."+array[1]); } else { var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } } triggerEvent(element, 'blur', false);} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/40101f37ab8b5f25202111634151140a0768541b/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
function clickElement(element, loadCallback) { if (loadCallback) { var el = new SelfRemovingLoadListener(loadCallback); addLoadListener(getIframe(), el.invoke); } triggerEvent(element, 'focus', false); // If this is a javascript call ("javascript:foo()"), pull out the // function part and just call that. if(element.toString().indexOf("javascript") == 0) { array = element.toString().split(':'); // Prepend the window onto the javascript function. This is very // hacky, but if we don't do this, the function can't be found. eval("getContentWindow().window." + currentWindow + "."+array[1]); } else { var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } } triggerEvent(element, 'blur', false);} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/40101f37ab8b5f25202111634151140a0768541b/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
||
var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } | */ var wasChecked = element.checked; triggerEvent(element, 'click', false); element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); | function clickElement(element, loadCallback) { if (loadCallback) { var el = new SelfRemovingLoadListener(loadCallback); addLoadListener(getIframe(), el.invoke); } triggerEvent(element, 'focus', false); // If this is a javascript call ("javascript:foo()"), pull out the // function part and just call that. if(element.toString().indexOf("javascript") == 0) { array = element.toString().split(':'); // Prepend the window onto the javascript function. This is very // hacky, but if we don't do this, the function can't be found. eval("getContentWindow().window." + currentWindow + "."+array[1]); } else { var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } } triggerEvent(element, 'blur', false);} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a571d0ab29c9c650dde37a79dcc38968ddf4302c/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
function clickElement(element, loadCallback) { if (loadCallback) { var el = new SelfRemovingLoadListener(loadCallback); addLoadListener(getIframe(), el.invoke); } triggerEvent(element, 'focus', false); // If this is a javascript call ("javascript:foo()"), pull out the // function part and just call that. if(element.toString().indexOf("javascript") == 0) { array = element.toString().split(':'); // Prepend the window onto the javascript function. This is very // hacky, but if we don't do this, the function can't be found. eval("getContentWindow().window." + currentWindow + "."+array[1]); } else { var wasChecked = element.checked; element.click(); if (isIE && isDefined(element.checked) && wasChecked != element.checked) { triggerEvent(element, 'change', true); } } triggerEvent(element, 'blur', false);} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a571d0ab29c9c650dde37a79dcc38968ddf4302c/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
||
if (target.getAttribute('href') != null || hasValue(target.rel, 'external') || isParentOrSelf(target, 'controls') || isParentOrSelf(target,'embed') || isParentOrSelf(target,'object')) return true; | if (target.href != null || hasValue(target.rel, 'external') || isParentOrSelf(target, 'controls') || isParentOrSelf(target,'embed') || isParentOrSelf(target, 'object')) return true; | function clicker(e) { number = undef; var target; if (window.event) { target = window.event.srcElement; e = window.event; } else target = e.target; if (target.getAttribute('href') != null || hasValue(target.rel, 'external') || isParentOrSelf(target, 'controls') || isParentOrSelf(target,'embed') || isParentOrSelf(target,'object')) return true; if (!e.which || e.which == 1) { if (!incrementals[snum] || incpos >= incrementals[snum].length) { go(1); } else { subgo(1); } }} | 8799 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8799/84a3cbc62b82157c874c40673ae9c3331388ee31/slides.js/clean/docutils/docutils/writers/s5_html/themes/default/slides.js |
elt.className == 'x' || | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/web/web/deploy/cm/cormissing.js |
|
var match = strField.match ( /[A-Z0-9_]*/i ); | var match = strField.match ( /[\.A-Z0-9_]*/i ); | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/web/web/deploy/cm/cormissing.js |
var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); | var re = /\./g ; var strNamespace = getName (elt).toLowerCase ().replace (re, ''); | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/web/web/deploy/cm/cormissing.js |
elt.className == 'x' || | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/doc/web/deploy/cm/cormissing.js |
|
var match = strField.match ( /[A-Z0-9_]*/i ); | var match = strField.match ( /[\.A-Z0-9_]*/i ); | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/doc/web/deploy/cm/cormissing.js |
var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); | var re = /\./g ; var strNamespace = getName (elt).toLowerCase ().replace (re, ''); | function clickHandler (evt){ var elt; if (document.layers) elt = evt.taget; else if (window.event && window.event.srcElement) { elt = window.event.srcElement; evt = window.event; } else if (evt && evt.stopPropagation) elt = evt.target; if (!elt.className && elt.parentNode) elt = elt.parentNode; if (elt.className == 'l') // label { var strClass; var strField; elt = getParentDiv (elt); if (elt.className == 'm' || // method elt.className == 'p' || // property elt.className == 'e' || // event elt.className == 'x' || // constructor elt.className == 'f') // field { strField = getName (elt).toLowerCase (); var match = strField.match ( /[A-Z0-9_]*/i ); if (match) strField = match [0]; elt = getParentDiv (elt); elt = getParentDiv (elt); } if (elt.className == 'c' || // class elt.className == 's' || // struct elt.className == 'en') // enum { strClass = getName (elt).toLowerCase () + 'class'; elt = getParentDiv (elt); } else if (elt.className == 'd') // delegate { strClass = getName (elt).toLowerCase () + 'eventhandler'; elt = getParentDiv (elt); } if (elt.className == 'n') // namespace { var strNamespace = getName (elt).toLowerCase ().replace ('.', ''); if (strClass) strNamespace += strClass; if (strField) strNamespace += strField; if (strClass || strField) strNamespace += 'topic'; window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN'); } } else { if (elt.parentNode && elt.parentNode.className == 't') // toggle elt = elt.parentNode; else if (elt.className != 't') // toggle return; while (elt != null && elt.tagName != 'DIV') elt = elt.parentNode; if (evt.shiftKey) { var rgElts = getChildrenByTagName (elt, 'DIV'); var cElts = rgElts.length; if (cElts != 0) { var fView = false; var iElt; for (iElt = 0; iElt < cElts; iElt ++) { if (getView (rgElts [iElt])) { fView = true; break; } } for (iElt = 0; iElt < cElts; iElt ++) { setView (rgElts [iElt], !fView); } } } else if (evt.ctrlKey) { setView (elt, true); var eltParent = getParentDiv (elt); while (eltParent) { var rgSiblings = getChildrenByTagName (eltParent, 'DIV'); var cSiblings = rgSiblings.length; for (var iSibling = 0; iSibling < cSiblings; iSibling++) { var eltSibling = rgSiblings [iSibling]; if (eltSibling != elt) { setView (eltSibling, false); } } elt = eltParent; eltParent = getParentDiv (elt); } } else toggle (elt); } return false;} | 7338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7338/3a4f8c97baca2f909124a4bad68e6381188305a0/cormissing.js/clean/doc/web/deploy/cm/cormissing.js |
function clickOnFolder(folderId) { | function clickOnFolder(folderId) { | function clickOnFolder(folderId) { var clicked = findObj(folderId) if (!clicked.isOpen) { clickOnNodeObj(clicked) } if (lastOpenedFolder != null && lastOpenedFolder != folderId) clickOnNode(lastOpenedFolder); //sets lastOpenedFolder to null if (clicked.nChildren==0) { lastOpenedFolder = folderId; clicked.isLastOpenedfolder = true } if (isLinked(clicked.hreference)) { highlightObjLink(clicked); }} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
clickOnNodeObj(clicked) | clickOnNodeObj(clicked) | function clickOnFolder(folderId) { var clicked = findObj(folderId) if (!clicked.isOpen) { clickOnNodeObj(clicked) } if (lastOpenedFolder != null && lastOpenedFolder != folderId) clickOnNode(lastOpenedFolder); //sets lastOpenedFolder to null if (clicked.nChildren==0) { lastOpenedFolder = folderId; clicked.isLastOpenedfolder = true } if (isLinked(clicked.hreference)) { highlightObjLink(clicked); }} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
function clickOnLink(clickedId, target, windowName) { | function clickOnLink(clickedId, target, windowName) { | function clickOnLink(clickedId, target, windowName) { highlightObjLink(findObj(clickedId)); if (isLinked(target)) { window.open(target,windowName); }} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
SetCookie("org.apache.lenya.cms.info.target", documentid) | function clickOnLink(clickedId, target, windowName) { highlightObjLink(findObj(clickedId)); if (isLinked(target)) { window.open(target,windowName); documentid = target.substring(0,target.length() - 45); SetCookie("org.apache.lenya.cms.info.target", documentid) }} | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/e53dd72d42397704a0cb7c59c3b35a3bfd55fae5/tree.js/clean/src/webapp/lenya/resources/javascript/tree.js |
|
SetCookie("org.apache.lenya.cms.info.target", target) | documentid = target.substring(0,target.length() - 45); SetCookie("org.apache.lenya.cms.info.target", documentid) | function clickOnLink(clickedId, target, windowName) { highlightObjLink(findObj(clickedId)); if (isLinked(target)) { window.open(target,windowName); SetCookie("org.apache.lenya.cms.info.target", target) }} | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/c6c03101491eeb2b3fb4f1c849f55f514f3b270d/tree.js/clean/src/webapp/lenya/resources/javascript/tree.js |
function clickOnNode(folderId) { | function clickOnNode(folderId) { | function clickOnNode(folderId) { clickOnNodeObj(findObj(folderId))} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
function clickOnNodeObj(folderObj) { var state = 0 | function clickOnNodeObj(folderObj) { var state = 0 | function clickOnNodeObj(folderObj) { var state = 0 var currentOpen state = folderObj.isOpen folderObj.setState(!state) //open<->close if (folderObj.id!=foldersTree.id && PERSERVESTATE) { currentOpen = GetCookie("clickedFolder") if (currentOpen == null) currentOpen = "" if (!folderObj.isOpen) //closing { currentOpen = currentOpen.replace(folderObj.getID()+cookieCutter, "") SetCookie("clickedFolder", currentOpen) } else SetCookie("clickedFolder", currentOpen+folderObj.getID()+cookieCutter) }} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
state = folderObj.isOpen folderObj.setState(!state) | state = folderObj.isOpen folderObj.setState(!state) | function clickOnNodeObj(folderObj) { var state = 0 var currentOpen state = folderObj.isOpen folderObj.setState(!state) //open<->close if (folderObj.id!=foldersTree.id && PERSERVESTATE) { currentOpen = GetCookie("clickedFolder") if (currentOpen == null) currentOpen = "" if (!folderObj.isOpen) //closing { currentOpen = currentOpen.replace(folderObj.getID()+cookieCutter, "") SetCookie("clickedFolder", currentOpen) } else SetCookie("clickedFolder", currentOpen+folderObj.getID()+cookieCutter) }} | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var parent = Position.offsetParent(target); var delta = Position.page(parent); | var delta = [0, 0]; var parent = null; if (Element.getStyle(target,'position') == 'absolute') { parent = Position.offsetParent(target); delta = Position.page(parent); } | Position.clone = function(source, target) { var options = Object.extend({ setLeft: true, setTop: true, setWidth: true, setHeight: true, offsetTop: 0, offsetLeft: 0 }, arguments[2] || {}) // find page position of source source = $(source); var p = Position.page(source); // find coordinate system to use target = $(target); var parent = Position.offsetParent(target); var delta = Position.page(parent); // correct by body offsets (fixes Safari) if (parent==document.body) { delta[0] -= document.body.offsetLeft; delta[1] -= document.body.offsetTop; } // set position if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + "px"; if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + "px"; if(options.setWidth) target.style.width = source.offsetWidth + "px"; if(options.setHeight) target.style.height = source.offsetHeight + "px";} | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/cdfd65b24c35cfb3ffa9589211762adec603301d/util.js/clean/src/util.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
target.style.top = source.style.top; target.style.left = source.style.left; | target.style.position = 'absolute'; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + 'px'; target.style.left = offsets[0] + 'px'; | clone: function(source, target) { source = $(source); target = $(target); target.style.top = source.style.top; target.style.left = source.style.left; target.style.width = source.offsetWidth + 'px'; target.style.height = source.offsetHeight + 'px'; } | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/cadcd9e7144394ecc9df01961191d20e5e219a37/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.