From ea32756bc51de26bd016909793ea0e7f73ccb8a6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sat, 4 Aug 2012 11:31:11 +0200 Subject: $ => jQuery to avoid replacements in PHP --- plugins/jqueryui/jqueryui.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php index 5a0cfbd47..b28631ba7 100644 --- a/plugins/jqueryui/jqueryui.php +++ b/plugins/jqueryui/jqueryui.php @@ -39,8 +39,8 @@ class jqueryui extends rcube_plugin // patch dialog position function in order to fully fit the close button into the window $rcmail->output->add_script("jQuery.extend(jQuery.ui.dialog.prototype.options.position, { using: function(pos) { - var topOffset = $(this).css(pos).offset().top - 12; - if (topOffset < 0) $(this).css('top', pos.top - topOffset); + var topOffset = jQuery(this).css(pos).offset().top - 12; + if (topOffset < 0) jQuery(this).css('top', pos.top - topOffset); } });", 'foot'); } -- cgit v1.2.3