aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/ajax.js
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-12-07 13:31:37 -0800
committerIgor Wiedler <igor@wiedler.ch>2012-12-07 13:31:37 -0800
commitb0b5a13131b90b8320de6f49db6c505d38b42c96 (patch)
tree641a33e35665c3b8198fd2d641a687560342ba56 /phpBB/adm/style/ajax.js
parent74093d0fd383619ec8b58914ebe2edd68145e070 (diff)
parent26fd70d9cdffe0107635db5f3846dbe5ea6e3fae (diff)
downloadforums-b0b5a13131b90b8320de6f49db6c505d38b42c96.tar
forums-b0b5a13131b90b8320de6f49db6c505d38b42c96.tar.gz
forums-b0b5a13131b90b8320de6f49db6c505d38b42c96.tar.bz2
forums-b0b5a13131b90b8320de6f49db6c505d38b42c96.tar.xz
forums-b0b5a13131b90b8320de6f49db6c505d38b42c96.zip
Merge pull request #18 from p/ticket/11015
Ticket/11015
Diffstat (limited to 'phpBB/adm/style/ajax.js')
-rw-r--r--phpBB/adm/style/ajax.js8
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);