Changeset 18389 for trunk/FACT++


Ignore:
Timestamp:
12/16/15 13:23:45 (9 years ago)
Author:
tbretz
Message:
Added a tooltip containing ID and last update time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/index.js

    r18368 r18389  
    170170    if (disabled)
    171171        input1m.setAttribute("disabled", "true");
     172    input1m.setAttribute("data-toggle", "tooltip");
     173    if (row.fScheduleID)
     174        input1m.setAttribute("title", row.fScheduleID+" ["+row.fLastUpdate+"]");
    172175    input1m.onclick = function()
    173176    {
     
    563566    if (location.href.search('debug')==-1)
    564567        $("#debug").hide();
     568
     569    /*---------------------------------------------------------------------------------------------
     570     Initialize jQuery tooltips
     571     ----------------------------------------------------------------------------------------------*/
     572
     573    $(document).ready(function(){$('[data-toggle="tooltip"]').tooltip();});
    565574
    566575    /*---------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.