MINOR Removed unnecessary console.*() from sapphire javascript files

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101753 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-28 20:06:01 +00:00 committed by Sam Minnee
parent c7a103c0dc
commit 4bb0ef5aca
4 changed files with 2 additions and 13 deletions

View File

@ -100,14 +100,10 @@ HasManyFileFieldUploadButton.prototype = {
ids = serverData.match(idregex);
fileid = ids[1];
console.log(serverData);
nameregex = /\/\* Names: ([^\s]+) \*\//;
names = serverData.match(nameregex);
name = names[1];
console.log(name);
fieldid = this.parentNode.parentNode.id;
list = this.parentNode.parentNode.list;

View File

@ -60,9 +60,7 @@ TableField.prototype = {
|| params["childID"] <= 0 || (recordID <= 0 || recordID == false)
){
if( row.parentNode.getElementsByTagName('tr').length > 1 ) {
try { Effect.FadeOut(row); } catch (e) {
//console.log(e);
}
Effect.FadeOut(row);
} else {
// clear all fields in the row
var fields = row.getElementsByTagName('input');
@ -122,7 +120,6 @@ TableField.prototype = {
for(var i = 0; i < elements.length;i++){
if(elements[i].type != "hidden"){
if(elements[i].value != null && elements[i].value != ""){
//console.log(elements[i].id + ' has value');
isEmpty = false;
}
}

View File

@ -87,9 +87,6 @@ function getFittingHeight(el, tweakVal, ignoreElements) {
tweakVal += getDimension(el.parentNode,'borderBottomWidth');
}
//console.log(el.id + ': ' + el.parentNode.id+'.offsetHeight=' + el.parentNode.offsetHeight
// + ', otherHeight=' + otherHeight + ', tweakVal=' + tweakVal)
if(el.parentNode && el.parentNode.offsetHeight - otherHeight - tweakVal < 0) {
return 0;
}else{

View File

@ -156,7 +156,6 @@ LinkForm.prototype = {
if(data) {
for(i in data) {
if(this.elements[i]) {
// console.log('setting ' + i + ' to ' + this.elements[i] );
Form.Element.setValue(this.elements[i], data[i]);
}
}