Thomas Bruederli
2012-08-04 848e083cb5a776a3b42f57cee98140c718f65de8
$ => jQuery to avoid replacements in PHP
1 files modified
4 ■■■■ changed files
plugins/jqueryui/jqueryui.php 4 ●●●● patch | view | raw | blame | history
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');
        }