From 91de5fd771cf7cb4be619bc2a9b32b10485717c0 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 26 Apr 2008 06:40:29 +0000 Subject: [PATCH] Merged revisions 52399 via svnmerge from http://svn.silverstripe.com/open/modules/cms/branches/2.2.2 ........ r52399 | ischommer | 2008-04-09 19:21:07 +1200 (Wed, 09 Apr 2008) | 1 line BUGFIX re-initializing tabstrip javascript after ajax-reload in AssetTableField popup (#2309 AssetTableField popup fails after saving) ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@53502 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/AssetAdmin.js | 2 ++ templates/Includes/AssetTableField.ss | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/javascript/AssetAdmin.js b/javascript/AssetAdmin.js index 289ec592..aff28727 100755 --- a/javascript/AssetAdmin.js +++ b/javascript/AssetAdmin.js @@ -470,6 +470,8 @@ appendLoader(function () { $('deletepage').getElementsByTagName('button')[0].onclick = function() { return false; }; $('deletepage_options').onsubmit = deletefolder.form_submit; } + + new CheckBoxRange($('Form_EditForm'), 'Files[]'); }); Behaviour.register({ diff --git a/templates/Includes/AssetTableField.ss b/templates/Includes/AssetTableField.ss index b5bd0878..a614bae7 100755 --- a/templates/Includes/AssetTableField.ss +++ b/templates/Includes/AssetTableField.ss @@ -37,7 +37,4 @@ <% end_control %> - - + \ No newline at end of file