diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-01 06:21:09 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-01 06:21:09 -0500 |
commit | ab6c284dddecebbe359874e205c7e2ed15e38ac1 (patch) | |
tree | 06fca35134ac26f01e7402a2ce6061f5e3e97658 | |
parent | 1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12 (diff) | |
parent | c7f701c1e71caa416217b5438274785f3ab0c2af (diff) | |
download | forums-ab6c284dddecebbe359874e205c7e2ed15e38ac1.tar forums-ab6c284dddecebbe359874e205c7e2ed15e38ac1.tar.gz forums-ab6c284dddecebbe359874e205c7e2ed15e38ac1.tar.bz2 forums-ab6c284dddecebbe359874e205c7e2ed15e38ac1.tar.xz forums-ab6c284dddecebbe359874e205c7e2ed15e38ac1.zip |
Merge PR #1095 branch 'nickvergessen/ticket/11209' into develop
* nickvergessen/ticket/11209:
[ticket/11209] Clone disable moving images to allow multiple per page
-rw-r--r-- | phpBB/adm/style/ajax.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js index a3a77df89b..3ccb368665 100644 --- a/phpBB/adm/style/ajax.js +++ b/phpBB/adm/style/ajax.js @@ -36,7 +36,7 @@ phpbb.add_ajax_callback('row_down', function() { overlay: false }); - tr_swap.find('.up').html(img_templates.up_disabled); + tr_swap.find('.up').html(img_templates.up_disabled.clone()); } tr.insertAfter(tr_swap); @@ -48,7 +48,7 @@ phpbb.add_ajax_callback('row_down', function() { */ if (tr.is(':last-child')) { - tr.find('.down').html(img_templates.down_disabled); + tr.find('.down').html(img_templates.down_disabled.clone()); var down_img = img_templates.down.clone().attr('href', tr_swap.attr('data-down')); tr_swap.find('.down').html(down_img); @@ -82,7 +82,7 @@ phpbb.add_ajax_callback('row_up', function() { overlay: false }); - tr_swap.find('.down').html(img_templates.down_disabled); + tr_swap.find('.down').html(img_templates.down_disabled.clone()); } tr.insertBefore(tr_swap); @@ -94,7 +94,7 @@ phpbb.add_ajax_callback('row_up', function() { */ if (tr.is(':first-child')) { - tr.find('.up').html(img_templates.up_disabled); + tr.find('.up').html(img_templates.up_disabled.clone()); var up_img = img_templates.up.clone().attr('href', tr_swap.attr('data-up')); tr_swap.find('.up').html(up_img); |