From 7e53965c89f7ca37bcc74c25d64bde95cd53a7ba Mon Sep 17 00:00:00 2001 From: ondras Date: Sun, 19 Feb 2012 12:22:01 +0100 Subject: [PATCH] preventing default f2 in opera, thanks to ivan abdulin --- js/wwwsqldesigner.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js index 9ce3156..113ce84 100644 --- a/js/wwwsqldesigner.js +++ b/js/wwwsqldesigner.js @@ -1475,6 +1475,9 @@ SQL.IO.prototype.importresponse = function(data, code) { SQL.IO.prototype.press = function(e) { switch (e.keyCode) { case 113: + if (OZ.opera) { + e.preventDefault(); + } this.quicksave(e); break; }