BUGFIX: correct wrong syntax of TableField class in its frontend javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64329 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2008-10-16 00:57:06 +00:00
parent ec1724cc4d
commit 43e5f6b527

View File

@ -18,7 +18,7 @@ Effect.FadeOut = function(element,callback) {
} }
TableField = Class.create(); TableField = Class.create();
Object.extend(TableField.prototype,{ TableField.prototype = {
newRowID: 1, newRowID: 1,
@ -70,7 +70,6 @@ Object.extend(TableField.prototype,{
fields[i].value = ''; fields[i].value = '';
} }
} }
Event.stop(e); Event.stop(e);
return false; return false;
} }
@ -200,7 +199,7 @@ Object.extend(TableField.prototype,{
} }
} }
} }
}); }
TableField.applyTo('div.TableField'); TableField.applyTo('div.TableField');
if(typeof ajaxErrorHandler == 'undefined'){ if(typeof ajaxErrorHandler == 'undefined'){
ajaxErrorHandler = function(response) { ajaxErrorHandler = function(response) {