aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r--tests/unit/dialog/dialog_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js
index cf76045b4..4618417f0 100644
--- a/tests/unit/dialog/dialog_core.js
+++ b/tests/unit/dialog/dialog_core.js
@@ -9,7 +9,7 @@ var el,
dragged;
function dlg() {
- return el.data("dialog").element.parents(".ui-dialog:first");
+ return el.dialog('widget');
}
function isOpen(why) {