Changeset 14677 for trunk/FACT++/www/smartfact
- Timestamp:
- 11/21/12 20:33:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.js
r14416 r14677 33 33 var xmlLoad = new XMLHttpRequest(); 34 34 xmlLoad.open('POST', "index.php?load", true); 35 //xmlLoad.setRequestHeader("If-Match", "*"); 35 xmlLoad.setRequestHeader("Cache-Control", "no-cache"); 36 xmlLoad.setRequestHeader("If-Match", "*"); 36 37 xmlLoad.onload = function() 37 38 { … … 125 126 126 127 var xmlPage = new XMLHttpRequest(); 127 xmlPage.open('POST', "struct/"+name+'.page', true); 128 //xmlPage.setRequestHeader("If-Match", "*"); 128 xmlPage.open('GET', "struct/"+name+'.page', true); 129 xmlPage.setRequestHeader("Cache-Control", "no-cache"); 130 xmlPage.setRequestHeader("If-Match", "*"); 129 131 xmlPage.onload = function () 130 132 { … … 171 173 var xmlCmd = new XMLHttpRequest(); 172 174 xmlCmd.open('POST', uri, true); 175 xmlCmd.setRequestHeader("Cache-Control", "no-cache"); 173 176 xmlCmd.setRequestHeader("If-Match", "*"); 174 177 xmlCmd.onload = function () … … 925 928 var timeoutGraphics = null; 926 929 930 var test_counter = 0; 931 927 932 function refresh_text() 928 933 { … … 948 953 949 954 var xmlText = new XMLHttpRequest(); 950 xmlText.open('POST', "data/"+fname+'.data', true); 951 //xmlText.setRequestHeader("If-Match", "*"); 955 xmlText.open('GET', "data/"+fname+'.data', true); 956 xmlText.setRequestHeader("Cache-Control", "no-cache"); 957 xmlText.setRequestHeader("If-Match", "*"); 952 958 xmlText.onload = function () 953 959 { … … 1120 1126 1121 1127 var xmlGfx = new XMLHttpRequest(); 1122 xmlGfx.open('POST', "data/"+fname, true); 1128 xmlGfx.open('GET', "data/"+fname, true); 1129 xmlGfx.setRequestHeader("Cache-Control", "no-cache"); 1123 1130 xmlGfx.setRequestHeader("If-Match", "*"); 1124 1131 xmlGfx.onload = function ()
Note:
See TracChangeset
for help on using the changeset viewer.