aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tests/resizable.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tests/resizable.html')
-rw-r--r--ui/tests/resizable.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/ui/tests/resizable.html b/ui/tests/resizable.html
index ab605d543..d89b9e7ad 100644
--- a/ui/tests/resizable.html
+++ b/ui/tests/resizable.html
@@ -53,20 +53,23 @@
});*/
$('#key').keydown(function() {
- //alert('keydown')
+ alert('keydown')
//console.log('keydown')
});
- /*
+
// TODO - works in all browsers, but have to fix a bug on opera
$('#key').userAction("keydown", {
charCode: 67,
- keyCOde: 67,
+ keyCode: 67,
after: function(e) {
- //console.log(e)
+ console.log(e)
+ },
+ before: function(e) {
+ console.log(e)
}
});
- */
+
// mouseover on the center of the target
$('.ui-resizable-e').userAction("mouseover");