Revision 82c10c28
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
js/requirement_spec.js | ||
---|---|---|
79 | 79 |
// console.debug("controller: " + controller); |
80 | 80 |
// console.debug(data); |
81 | 81 |
|
82 |
$.post("controller.pl", data, eval_json_result); |
|
82 |
$.post("controller.pl", data, kivi.eval_json_result);
|
|
83 | 83 |
|
84 | 84 |
return true; |
85 | 85 |
}; |
... | ... | |
99 | 99 |
current_content_id: $('#current_content_id').val(), |
100 | 100 |
clicked_type: type, |
101 | 101 |
clicked_id: node.data('id') |
102 |
}, eval_json_result); |
|
102 |
}, kivi.eval_json_result);
|
|
103 | 103 |
}; |
104 | 104 |
|
105 | 105 |
// ------------------------------------------------------------------------- |
... | ... | |
156 | 156 |
current_content_id: $('#current_content_id').val() |
157 | 157 |
}; |
158 | 158 |
|
159 |
$.post("controller.pl", $.extend(data, other_data || {}), eval_json_result); |
|
159 |
$.post("controller.pl", $.extend(data, other_data || {}), kivi.eval_json_result);
|
|
160 | 160 |
|
161 | 161 |
return true; |
162 | 162 |
}; |
... | ... | |
208 | 208 |
|
209 | 209 |
// console.log("I would normally POST the following now:"); |
210 | 210 |
// console.log(data); |
211 |
$.post("controller.pl", $.extend(data, other_data || {}), eval_json_result); |
|
211 |
$.post("controller.pl", $.extend(data, other_data || {}), kivi.eval_json_result);
|
|
212 | 212 |
|
213 | 213 |
return true; |
214 | 214 |
}; |
... | ... | |
286 | 286 |
else |
287 | 287 |
data += 'id=' + encodeURIComponent($('#requirement_spec_id').val()); |
288 | 288 |
|
289 |
$.post("controller.pl", data, eval_json_result); |
|
289 |
$.post("controller.pl", data, kivi.eval_json_result);
|
|
290 | 290 |
|
291 | 291 |
return true; |
292 | 292 |
}; |
... | ... | |
363 | 363 |
id: $('#requirement_spec_id').val() |
364 | 364 |
}; |
365 | 365 |
|
366 |
$.post("controller.pl", data, eval_json_result); |
|
366 |
$.post("controller.pl", data, kivi.eval_json_result);
|
|
367 | 367 |
|
368 | 368 |
return true; |
369 | 369 |
}; |
Auch abrufbar als: Unified diff
client_js.js: Funktionen in namespace kivi verschoben (Pflichtenheft-Teil)