From 5579b1e1a3f1a2d845fe9dcf3d3710ff3258cdee Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 12 Aug 2015 14:06:55 +0200 Subject: closes #346 chunk_size is now a config setting --- admin/themes/default/template/photos_add_direct.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/themes/default') diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index ad9e80b07..71663fc20 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -86,7 +86,7 @@ jQuery(document).ready(function(){ // url : '../upload.php', url : 'ws.php?method=pwg.images.upload&format=json', - chunk_size: '500kb', + chunk_size: '{/literal}{$chunk_size}{literal}kb', filters : { // Maximum file size -- cgit v1.2.3