From 62c69bb477ced2427a75e77c50e1bcad1f02e15a Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 9 Feb 2012 00:02:11 +0000 Subject: feature 2470 added: ability to create a new album "on the fly" on the "associate to album" action of the Batch Manager. The code was moved from the upload form and is now used by the upload form + Batch Manager. git-svn-id: http://piwigo.org/svn/trunk@13063 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../themes/default/template/photos_add_direct.tpl | 99 +--------------------- 1 file changed, 1 insertion(+), 98 deletions(-) (limited to 'admin/themes/default/template/photos_add_direct.tpl') diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index e996cabd1..5d3c1fbd6 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -7,6 +7,7 @@ {/if} {include file='include/colorbox.inc.tpl'} +{include file='include/add_album.inc.tpl'} {footer_script}{literal} jQuery(document).ready(function(){ @@ -67,90 +68,6 @@ jQuery(document).ready(function(){ return byteSize+suffix; } - function fillCategoryListbox(selectId, selectedValue) { - jQuery.getJSON( - "ws.php?format=json&method=pwg.categories.getList", - { - recursive: true, - fullname: true, - format: "json", - }, - function(data) { - jQuery.each( - data.result.categories, - function(i,category) { - var selected = null; - if (category.id == selectedValue) { - selected = "selected"; - } - - jQuery("