From a3c549d0b02f983167ffe2043debc4e115c3f855 Mon Sep 17 00:00:00 2001 From: Mellisa Hankins Date: Wed, 4 Mar 2015 10:42:43 +1100 Subject: [PATCH] Added curly brackets --- javascript/GridFieldExtensions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/GridFieldExtensions.js b/javascript/GridFieldExtensions.js index 3011cce7..66b9705a 100644 --- a/javascript/GridFieldExtensions.js +++ b/javascript/GridFieldExtensions.js @@ -205,8 +205,9 @@ }); }, onremove: function() { - if(this.data('sortable')) + if(this.data('sortable')) { this.sortable("destroy"); + } } });