aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-13 03:36:56 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-13 03:36:56 +0000
commita5d5c4f60aff33da4f4aeb030cb0faca4b2aaf94 (patch)
tree2027665e6e01fbef165dff7a434cc8445e4e7726 /tests
parent2916159a088f20eb33602d69c97b79792dd5c037 (diff)
downloadjquery-ui-a5d5c4f60aff33da4f4aeb030cb0faca4b2aaf94.tar.gz
jquery-ui-a5d5c4f60aff33da4f4aeb030cb0faca4b2aaf94.zip
Resizable:
- Fixed destroy method. - Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false).
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/resizable/resizable_defaults.js1
-rw-r--r--tests/visual/resizable/resizable_option_preventDefault_false.html23
-rw-r--r--tests/visual/resizable/resizable_option_preventDefault_true.html23
3 files changed, 0 insertions, 47 deletions
diff --git a/tests/unit/resizable/resizable_defaults.js b/tests/unit/resizable/resizable_defaults.js
index 52513924d..f69e5217c 100644
--- a/tests/unit/resizable/resizable_defaults.js
+++ b/tests/unit/resizable/resizable_defaults.js
@@ -22,7 +22,6 @@ var resizable_defaults = {
maxWidth: null,
minHeight: 10,
minWidth: 10,
- preventDefault: true,
zIndex: 1000
};
diff --git a/tests/visual/resizable/resizable_option_preventDefault_false.html b/tests/visual/resizable/resizable_option_preventDefault_false.html
deleted file mode 100644
index 5d22f6b38..000000000
--- a/tests/visual/resizable/resizable_option_preventDefault_false.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>Resizable Visual Test : Resizable option preventDefault false</title>
- <link rel="stylesheet" href="../visual.css" type="text/css" />
- <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
- <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
- <script type="text/javascript" src="../../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#resizable").resizable({
- preventDefault: false
- });
- });
- </script>
-</head>
-<body>
-
-<textarea id="resizable">Resizable</texarea>
-
-</body>
-</html>
diff --git a/tests/visual/resizable/resizable_option_preventDefault_true.html b/tests/visual/resizable/resizable_option_preventDefault_true.html
deleted file mode 100644
index 0d153b6e9..000000000
--- a/tests/visual/resizable/resizable_option_preventDefault_true.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>Resizable Visual Test : Resizable option preventDefault true</title>
- <link rel="stylesheet" href="../visual.css" type="text/css" />
- <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
- <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
- <script type="text/javascript" src="../../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#resizable").resizable({
- preventDefault: true
- });
- });
- </script>
-</head>
-<body>
-
-<textarea id="resizable">Resizable</texarea>
-
-</body>
-</html>