Revision: 2150 https://dev.openbravo.com/websvn/openbravo/?rev=2150&sc=1 Author: dbaz Date: 2008-01-28 15:05:58 +0100 (Mon, 28 Jan 2008)
Log Message: ----------- keyControl() in utils.js now accept CTRL+SHIFT+KEY combinations Modified Paths: -------------- trunk/web/js/utils.js Modified: trunk/web/js/utils.js =================================================================== --- trunk/web/js/utils.js 2008-01-28 13:56:07 UTC (rev 2149) +++ trunk/web/js/utils.js 2008-01-28 14:05:58 UTC (rev 2150) @@ -974,6 +974,19 @@ } document.onkeypress = startKeyPressEvent; return true; + } else if (keyArray[i].auxKey == "ctrlKey+shiftKey" && pushedKey.ctrlKey && !pushedKey.altKey && pushedKey.shiftKey) { + try { + eval(keyArray[i].evalfunc); + document.onkeypress = startKeyPressEvent; + if (!keyArray[i].propagateKey) + return false; else + return true; + } catch (e) { + document.onkeypress = startKeyPressEvent; + return true; + } + document.onkeypress = startKeyPressEvent; + return true; } } } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits