Ignore:
Timestamp:
07/29/14 20:44:31 (10 years ago)
Author:
tbretz
Message:
Fixed a bug which caused clicking on an entry in the autocomplete list to fail.
File:
1 edited

Legend:

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

    r17856 r17942  
    204204}
    205205
    206 function setFileChecks()
     206function setFileChecks(file)
    207207{
    208208    var list = document.getElementById("file").data;
     
    210210        return;
    211211
    212     var file = document.getElementById("file").value;
     212    if (!file)
     213        file = document.getElementById("file").value;
     214
    213215    var drs  = document.getElementById("drsfile");
    214216
     
    378380function onFileSelect(event, ui)
    379381{
    380     setFileChecks();
     382    setFileChecks(ui.item.value);
    381383    document.getElementById("event").value = 0;
    382384    onSubmit(ui.item.value);
     
    417419
    418420    $("#file").autocomplete(opts);
    419     document.getElementById("file").value = "2014/04/17-181";
    420 
    421     onSubmit("2014/04/17-181");
     421    //document.getElementById("file").value = "2014/04/17-181";
     422
     423    //onSubmit("2014/04/17-181");
    422424}
    423425
Note: See TracChangeset for help on using the changeset viewer.