mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Hide edit Form when update completed
This commit is contained in:
parent
feb39651bf
commit
c67408bb90
@ -86,12 +86,7 @@
|
|||||||
$(this).removeClass('hasUpdate');
|
$(this).removeClass('hasUpdate');
|
||||||
$(this).parents('li').find('.ss-uploadfield-item-status').html('Updated');
|
$(this).parents('li').find('.ss-uploadfield-item-status').html('Updated');
|
||||||
$(this).parents('li').find('.ss-uploadfield-item-info').addClass('updated');
|
$(this).parents('li').find('.ss-uploadfield-item-info').addClass('updated');
|
||||||
|
$(this).parents('li').find('.ss-uploadfield-item-editform').css('display', 'none');
|
||||||
var formHolder = $(this).parents('li').find('.ss-uploadfield-item-editform');
|
|
||||||
console.log(formHolder);
|
|
||||||
try{$(formHolder).toggleEditForm();}catch(e){}
|
|
||||||
//$(this).parents('li').find('.ss-uploadfield-item-editform').entwine('ss').toggleEditForm();
|
|
||||||
//this.closest('.ss-uploadfield-item').find('.ss-uploadfield-item-editform').toggleEditForm();
|
|
||||||
|
|
||||||
$(this).removeClass('hasUpdate');
|
$(this).removeClass('hasUpdate');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user