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:
Ingo Schommer 2009-11-21 03:18:06 +00:00
parent 69f8bc52ea
commit 927c28baad

View File

@ -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);