mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Removed save+finish btn
This commit is contained in:
parent
bc8f2bda59
commit
2bfd2a8309
@ -75,7 +75,7 @@ class GridFieldBulkManager_Request extends RequestHandler {
|
||||
->setAttribute('data-url', $this->Link('update'))
|
||||
->setUseButtonTag(true)
|
||||
);
|
||||
|
||||
/*
|
||||
if($crumbs && $crumbs->count()>=2)
|
||||
{
|
||||
$actions->push(
|
||||
@ -87,7 +87,7 @@ class GridFieldBulkManager_Request extends RequestHandler {
|
||||
->setAttribute('data-return-url', $one_level_up->Link)
|
||||
->setUseButtonTag(true)
|
||||
);
|
||||
}
|
||||
} */
|
||||
|
||||
$actions->push(
|
||||
FormAction::create('Cancel', 'Cancel & Delete All')
|
||||
|
@ -163,7 +163,7 @@
|
||||
$(form).addClass('hasUpdate');
|
||||
}
|
||||
|
||||
$('#bulkEditingUpdateFinishBtn').addClass('dirty');
|
||||
//$('#bulkEditingUpdateFinishBtn').addClass('dirty');
|
||||
}
|
||||
});
|
||||
|
||||
@ -206,13 +206,14 @@
|
||||
$(this).removeClass('hasUpdate');
|
||||
|
||||
if ( counter == totalForms ) {
|
||||
$('#bulkEditingUpdateFinishBtn').removeClass('dirty');
|
||||
//$('#bulkEditingUpdateFinishBtn').removeClass('dirty');
|
||||
$('#bulkEditingUpdateBtn').data('completedForms', 0);
|
||||
$('#bulkEditingUpdateBtn').removeClass('loading');
|
||||
/*
|
||||
if ( $('#bulkEditingUpdateBtn').hasClass('doFinish') ) {
|
||||
//@TODO find a way to pass this as CMS navigation through AJAX
|
||||
window.location = $('#bulkEditingUpdateFinishBtn').data('return-url');
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
});
|
||||
@ -220,7 +221,7 @@
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
/*
|
||||
$('#bulkEditingUpdateFinishBtn').entwine({
|
||||
onclick: function(e){
|
||||
if ( $(this).hasClass('dirty') ) {
|
||||
@ -229,7 +230,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user