Changeset 13698


Ignore:
Timestamp:
05/13/12 14:28:09 (13 years ago)
Author:
tbretz
Message:
Moved data files to data and moved table files to struct
File:
1 edited

Legend:

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

    r13686 r13698  
    217217{
    218218    var xmlPage = new XMLHttpRequest();
    219     xmlPage.open('POST', name+'.table', true);
     219    xmlPage.open('POST', "struct/"+name+'.table', true);
    220220    xmlPage.onload = function ()
    221221    {
     
    234234        //slideOut(name, xmlHttp.responseText);
    235235        //displayPage(name, xmlHttp.responseText);
    236             //onresize(true);
     236        //onresize(true);
    237237    };
    238238
     
    801801
    802802    var xmlText = new XMLHttpRequest();
    803     xmlText.open('POST', fname+'.txt', true);
     803    xmlText.open('POST', "data/"+fname+'.txt', true);
    804804    xmlText.onload = function ()
    805805    {
     
    919919        var cols = tokens[line].split('\t');
    920920        for (var col=1; col<cols.length; col++)
    921             form = form.replace("\$"+(col-1), cols[col].length==0 ? "--" : cols[col]);
     921            form = form.replace("\$"+(col-1), cols[col].length==0 ? "&mdash;" : cols[col]);
    922922
    923923        if (cols.length<=1)
    924             form = "---";
     924            form = "&mdash;";
    925925
    926926        var newe = document.createElement("div");
     
    952952
    953953    var xmlGfx = new XMLHttpRequest();
    954     xmlGfx.open('POST', fname, true);
     954    xmlGfx.open('POST', "data/"+fname, true);
    955955    xmlGfx.onload = function()
    956956    {
Note: See TracChangeset for help on using the changeset viewer.