diff options
author | patdenice <patdenice@piwigo.org> | 2011-04-08 14:12:27 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-04-08 14:12:27 +0000 |
commit | c218a05d8ea8cd39b32f98e68d1ed1af38939d85 (patch) | |
tree | 75d7fa0b35095e1a829b9f0642e82294647476f2 /admin/themes/default/template | |
parent | 4b82a64845cbaebab34958b9be16524fc2773001 (diff) |
feature:2238
Bug corrected with Chrome (function is loaded later)
git-svn-id: http://piwigo.org/svn/trunk@10164 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/batch_manager_global.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index 603877992..28b84869c 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -300,6 +300,10 @@ $(document).ready(function() { return false; }); + checkPermitAction() +}); + +jQuery(window).load(function() { var max_dim = 20; $(".thumbnails img").each(function () { if ($(this).height() > (max_dim-20)) @@ -308,8 +312,6 @@ $(document).ready(function() { max_dim = $(this).width() + 20; $("ul.thumbnails span, ul.thumbnails label").css('width', max_dim+'px').css('height', max_dim+'px'); }); - - checkPermitAction() }); {/literal}{/footer_script} |