Permalink
Browse files

BUGFIX: Fixed issue were the allow drag and drop checkbox would trigg…

…er the form changed flag (Issue 3) thanks dasplan
  • Loading branch information...
1 parent ba979db commit 2bf027e5f058e9e534941fc4ba7d336bd688c82b @UndefinedOffset committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/Includes/GridFieldSortableRows.ss
@@ -1,7 +1,7 @@
<tr>
<th class="extra sortablerowsheading" colspan="$Colspan">
<div class="gridfield-sortablerows">
- <input type="checkbox" id="{$ID}_AllowDragDropCheck" value="1"$Checked/> <label for="{$ID}_AllowDragDropCheck"><%t GridFieldSortableRows.ALLOW_DRAG_DROP "_Allow drag and drop re-ordering" %></label>
+ <input type="checkbox" id="{$ID}_AllowDragDropCheck" value="1" class="no-change-track"$Checked/> <label for="{$ID}_AllowDragDropCheck"><%t GridFieldSortableRows.ALLOW_DRAG_DROP "_Allow drag and drop re-ordering" %></label>
$SortableToggle
$PagenatorToggle
$SortToPage

0 comments on commit 2bf027e

Please sign in to comment.