Revize 75766682
Přidáno uživatelem Milan Vacek před více než 3 roky(ů)
application/view/Index.php | ||
---|---|---|
30 | 30 |
data.append("pos", 1); |
31 | 31 |
data.append("manuscript", [1,2,3,4]); |
32 | 32 |
data.append("wordform_id", 4); |
33 |
data.append("tag", "A---------") |
|
33 |
data.append("tag", "A---------");
|
|
34 | 34 |
//data.append("finished", "false"); |
35 | 35 |
// data.append("tag_pos", "V"); |
36 | 36 |
// data.append("tag_verb_aspect", "P"); |
... | ... | |
38 | 38 |
// data.append("word", "okáza"); |
39 | 39 |
var xhr = new XMLHttpRequest(); |
40 | 40 |
xhr.open("POST", "../controller/UpdateController.php"); |
41 |
xhr.onload = function(){ |
|
41 |
/*xhr.onload = function(){
|
|
42 | 42 |
let results = document.getElementById("results"), |
43 |
//if anything returned then do this |
|
43 | 44 |
search = JSON.parse(this.response); |
44 | 45 |
results.innerHTML = ""; |
45 | 46 |
console.log(search); |
46 |
}; |
|
47 |
};*/
|
|
47 | 48 |
xhr.send(data); |
48 | 49 |
return false; |
49 | 50 |
} |
Také k dispozici: Unified diff
Feature #8346 Implementce úpravy dat - Server