~openerp-dev/openerp-web/trunk-jquery1.9-ppa

« back to all changes in this revision

Viewing changes to addons/web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js

  • Committer: Prashant Panchal(OpenERP)
  • Date: 2014-04-16 09:24:51 UTC
  • Revision ID: ppa@tinyerp.com-20140416092451-outv36dahgip1860
[IMP] add jquery-migrate-1.1.1.j & jquery-1.9.1.js & change in web

Show diffs side-by-side

added added

removed removed

Lines of Context:
2805
2805
    //
2806
2806
    if (this._isIE) {
2807
2807
        document.body.attachEvent('onselectstart', function() {
2808
 
            window.event.returnValue = false;
2809
 
        });
 
2808
            window.event.preventDefault();
 
2809
        },false);
2810
2810
 
2811
2811
        document.body.attachEvent('onkeydown', function() {
2812
 
            if (event.keyCode == 65 && event.ctrlKey) window.event.returnValue = false;
2813
 
        });
 
2812
            if (event.keyCode == 65 && event.ctrlKey) window.event.preventDefault();
 
2813
        },false);
2814
2814
 
2815
2815
    } else {
2816
2816
        content.addEventListener('mousedown', function(e) {