From ea32756bc51de26bd016909793ea0e7f73ccb8a6 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sat, 04 Aug 2012 05:31:11 -0400
Subject: [PATCH] $ => jQuery to avoid replacements in PHP
---
plugins/jqueryui/jqueryui.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php
index 5a0cfbd..b28631b 100644
--- a/plugins/jqueryui/jqueryui.php
+++ b/plugins/jqueryui/jqueryui.php
@@ -39,8 +39,8 @@
// 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');
}
--
Gitblit v1.9.1