PHP Classes

File: Assets/gantt.js

Recommend this page to a friend!
  Classes of kiran  >  Kanboard Gantt plugin  >  Assets/gantt.js  >  Download  
File: Assets/gantt.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Kanboard Gantt plugin
Display Gantt charts in Kanboard
Author: By
Last change:
Date: 1 year ago
Size: 450 bytes
 

Contents

Class file image Download
KB.on('dom.ready', function () {
    function goToLink (selector) {
        if (! KB.modal.isOpen()) {
            var element = KB.find(selector);

            if (element !== null) {
                window.location = element.attr('href');
            }
        }
    }

    KB.onKey('v+g', function () {
        goToLink('a.view-gantt');
    });

    if (KB.exists('#gantt-chart')) {
        var chart = new Gantt();
        chart.show();
    }
});
For more information send a message to info at phpclasses dot org.