From 927c28baadc203cfdab514ed53c3e1a42e6f889f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 03:18:06 +0000 Subject: [PATCH] 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 --- javascript/AssetAdmin.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/javascript/AssetAdmin.js b/javascript/AssetAdmin.js index 8f08f02f..e7102865 100755 --- a/javascript/AssetAdmin.js +++ b/javascript/AssetAdmin.js @@ -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);