From 46f06cd0e97a9b7d5294470d88452440642e3740 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 28 Nov 2012 02:31:54 -0500
Subject: [PATCH] Fixed compatibility with jQueryUI-1.9

---
 plugins/managesieve/Changelog      |    1 +
 plugins/managesieve/managesieve.js |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog
index 6baaa04..aa89e69 100644
--- a/plugins/managesieve/Changelog
+++ b/plugins/managesieve/Changelog
@@ -1,6 +1,7 @@
 - Fixed filter activation/deactivation confirmation message (#1488765)
 - Moved rcube_* classes to <plugin>/lib/Roundcube for compat. with Roundcube Framework autoloader
 - Fixed filter selection after filter deletion (#1488832)
+- Fixed compatibility with jQueryUI-1.9
 
 * version 6.0 [2012-10-03]
 -----------------------------------------------------------
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index 5404a6d..04b9a76 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -754,7 +754,7 @@
 
     // load form in the iframe
     var frame = $('<iframe>').attr({src: url, frameborder: 0})
-    dialog.empty().append(frame).dialog('dialog').resize();
+    dialog.empty().append(frame).dialog('widget').resize();
 
     // Change [Next Step] button with [Save] button
     buttons = {};

--
Gitblit v1.9.1