partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5c0f723fcf9379f377ba9102939060cc225f1109
parent 45ff434eb506394746d899b30d20816d453a6b6a
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon,  2 Nov 2015 19:40:05 +0100

Removed context menu preventer

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js b/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js @@ -35,9 +35,6 @@ Ext.application({ this.loginManager.on("login", this.onLogin, this); this.loginManager.on("logout", this.onLogout, this); this.loginManager.login(); - - - Ext.fly(document.body).on('contextmenu', this.onContextMenu, this); }, getParameter: function (parameter) { @@ -53,12 +50,6 @@ Ext.application({ { return this.partManager; }, - onContextMenu: function (e, target) - { - if (!e.ctrlKey) { - e.preventDefault(); - } - }, /** * Handles the login function. Initializes the part manager window, * enables the menu bar and creates the stores+loads them.