mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Removed 'delete unused items' javascript from AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92781 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
69f8bc52ea
commit
927c28baad
@ -466,21 +466,6 @@ jQuery(document).ready(function() {
|
||||
new CheckBoxRange($('Form_EditForm'), 'Files[]');
|
||||
});
|
||||
|
||||
Behaviour.register({
|
||||
'#Form_EditForm_delete_unused_thumbnails': {
|
||||
onclick : function(event) {
|
||||
Event.stop(event);
|
||||
var options = {
|
||||
method: 'get',
|
||||
onSuccess: function(t) {
|
||||
eval(t.responseText);
|
||||
}
|
||||
};
|
||||
new Ajax.Request('admin/assets/deleteunusedthumbnails',options);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function refreshAsset() {
|
||||
frames[0].location.reload(0);
|
||||
frames[1].location.reload(1);
|
||||
|
Loading…
Reference in New Issue
Block a user