mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
ec1724cc4d
commit
43e5f6b527
@ -18,7 +18,7 @@ Effect.FadeOut = function(element,callback) {
|
||||
}
|
||||
|
||||
TableField = Class.create();
|
||||
Object.extend(TableField.prototype,{
|
||||
TableField.prototype = {
|
||||
|
||||
newRowID: 1,
|
||||
|
||||
@ -70,7 +70,6 @@ Object.extend(TableField.prototype,{
|
||||
fields[i].value = '';
|
||||
}
|
||||
}
|
||||
|
||||
Event.stop(e);
|
||||
return false;
|
||||
}
|
||||
@ -200,7 +199,7 @@ Object.extend(TableField.prototype,{
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
TableField.applyTo('div.TableField');
|
||||
if(typeof ajaxErrorHandler == 'undefined'){
|
||||
ajaxErrorHandler = function(response) {
|
||||
|
Loading…
Reference in New Issue
Block a user