From 94b37dbeb0c1e4ee245f5667270b72f2b7f61405 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 15 Nov 2012 14:32:52 +1300 Subject: [PATCH] Fixing AssetAdmin to use static FormField::create_tag() Instead of createTag() which is deprecated --- code/controllers/AssetAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/AssetAdmin.php b/code/controllers/AssetAdmin.php index 295f4aea..8d8d46f2 100644 --- a/code/controllers/AssetAdmin.php +++ b/code/controllers/AssetAdmin.php @@ -253,7 +253,7 @@ JS // TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views new LiteralField( 'Tree', - $treeField->createTag( + FormField::create_tag( 'div', array( 'class' => 'cms-tree',