mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
rename all instances of 'datas' to 'data'
This commit is contained in:
parent
730ac8963b
commit
61d644c247
48 changed files with 316 additions and 316 deletions
|
@ -90,16 +90,16 @@ jQuery(document).ready(function()
|
|||
e.preventDefault();
|
||||
var condition = jQuery(this).parents('.form-group').find('input').val();
|
||||
|
||||
var datas = {
|
||||
var data = {
|
||||
'condition' : condition,
|
||||
};
|
||||
|
||||
jQuery.ajax({
|
||||
type: "POST",
|
||||
url: HTTP_PWD + '/conditional_group/preview/',
|
||||
data: datas,
|
||||
success: function (datas) {
|
||||
jQuery('#preview-text-modal').find('.modal-body pre').text(datas.result);
|
||||
data: data,
|
||||
success: function (data) {
|
||||
jQuery('#preview-text-modal').find('.modal-body pre').text(data.result);
|
||||
jQuery('#preview-text-modal').modal({'keyboard': true});
|
||||
},
|
||||
dataType: 'json'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue