mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Refresh GridField after unlink/delete
This commit is contained in:
parent
1ba3e0620d
commit
0f6ae01bb5
@ -1,6 +1,5 @@
|
||||
(function($) {
|
||||
|
||||
|
||||
$.entwine('colymba', function($) {
|
||||
|
||||
$('td.col-bulkSelect').entwine({
|
||||
@ -55,7 +54,7 @@
|
||||
},
|
||||
onclick: function(){
|
||||
var state = $(this).prop('checked');
|
||||
$('td.col-bulkSelect input').each(function(){ $(this).prop('checked', state); });
|
||||
$('td.col-bulkSelect input').each(function(){$(this).prop('checked', state);});
|
||||
}
|
||||
});
|
||||
|
||||
@ -134,7 +133,7 @@
|
||||
type: "POST",
|
||||
context: $(this)
|
||||
}).done(function() {
|
||||
//@TODO refresh GridField
|
||||
$(this).parents('.ss-gridfield').entwine('.').entwine('ss').reload();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user