summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module b/kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module
index 8182714..5366f77 100644
--- a/kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/views/views_ui.module
@@ -845,7 +845,8 @@ function _views_ui_get_displays_list($view) {
function views_ui_library_alter(&$libraries, $module) {
if ($module == 'system' && isset($libraries['ui.dialog'])) {
- if (version_compare($libraries['ui.dialog']['version'], '1.7.2', '>=')) {
+ // Only apply the fix, if we don't have an up to date jQueryUI version.
+ if (version_compare($libraries['ui.dialog']['version'], '1.7.2', '>=') && version_compare($libraries['ui.dialog']['version'], '1.10.0', '<')) {
$libraries['ui.dialog']['js'][drupal_get_path('module', 'views') . '/js/jquery.ui.dialog.patch.js'] = array();
}
}