mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Fix linkCount .js in AssetAdmin deleteRecord (ticket #5486)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103734 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9a4f7be9a1
commit
9b593dcae5
@ -49,7 +49,7 @@ AssetTableField.prototype = {
|
||||
var link = Event.findElement(e,"a");
|
||||
var row = Event.findElement(e,"tr");
|
||||
|
||||
var linkCount = document.getElementsByClassName('linkCount', row)[0];
|
||||
var linkCount = row.getElementsByClassName('linkCount')[0];
|
||||
if(linkCount) linkCount = linkCount.innerHTML;
|
||||
|
||||
var confirmMessage = ss.i18n._t('TABLEFIELD.DELETECONFIRMMESSAGE', 'Are you sure you want to delete this record?');
|
||||
|
Loading…
Reference in New Issue
Block a user