mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Close only opened toggleFields on save
This commit is contained in:
parent
e2b15ad30c
commit
ec7df6712e
@ -10,7 +10,7 @@
|
|||||||
onunmatch: function(){},
|
onunmatch: function(){},
|
||||||
onclick: function(e)
|
onclick: function(e)
|
||||||
{
|
{
|
||||||
var toggleFields = this.parents('#Form_BulkEditingForm').find('.ss-toggle h4'),
|
var toggleFields = this.parents('#Form_BulkEditingForm').find('.ss-toggle .ui-accordion-header'),
|
||||||
state = this.data('state')
|
state = this.data('state')
|
||||||
;
|
;
|
||||||
|
|
||||||
@ -113,7 +113,10 @@
|
|||||||
|
|
||||||
$fieldHolder.removeClass('hasUpdate').addClass('updated');
|
$fieldHolder.removeClass('hasUpdate').addClass('updated');
|
||||||
$header.find('a').html(record.title);
|
$header.find('a').html(record.title);
|
||||||
|
if ( $header.hasClass('ui-state-active') )
|
||||||
|
{
|
||||||
$header.click();
|
$header.click();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.removeClass('loading');
|
this.removeClass('loading');
|
||||||
|
Loading…
Reference in New Issue
Block a user