diff --git a/javascript/GridField.js b/javascript/GridField.js
index 3dab02eda..f40a342a8 100644
--- a/javascript/GridField.js
+++ b/javascript/GridField.js
@@ -169,15 +169,8 @@
}
});
- $('fieldset.ss-gridfield .new-link').entwine({
- onclick: function(e) {
- this.getGridField().showDetailView($(this).prop('href'));
- return false;
- }
- });
-
- $('fieldset.ss-gridfield .edit-link').entwine({
- onclick: function(e) {
+ $('.ss-gridfield .action-detail').entwine({
+ onclick: function() {
this.getGridField().showDetailView($(this).prop('href'));
return false;
}
diff --git a/templates/Includes/GridFieldAddNewButton.ss b/templates/Includes/GridFieldAddNewButton.ss
index 75a9bb931..483b503a9 100644
--- a/templates/Includes/GridFieldAddNewButton.ss
+++ b/templates/Includes/GridFieldAddNewButton.ss
@@ -1 +1 @@
-<% _t('GridField.AddNew', 'Add New') %>
\ No newline at end of file
+<% _t('GridField.AddNew', 'Add New') %>
\ No newline at end of file
diff --git a/templates/Includes/GridFieldEditButton.ss b/templates/Includes/GridFieldEditButton.ss
index a3fd612ae..6db6c52a1 100644
--- a/templates/Includes/GridFieldEditButton.ss
+++ b/templates/Includes/GridFieldEditButton.ss
@@ -1 +1 @@
-edit
\ No newline at end of file
+edit
\ No newline at end of file