mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 22:34:24 +00:00
Refactoring : tabulation with 4 spaces
This commit is contained in:
parent
332ee277d3
commit
e6a47ddcbc
@ -1,6 +1,6 @@
|
|||||||
/* jslint vars: true */
|
/* jslint vars: true */
|
||||||
/*jslint indent: 3 */
|
/*jslint indent: 4 */
|
||||||
/* global moment, $ */
|
/* global moment, $, window */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var chill = function() {
|
var chill = function() {
|
||||||
@ -107,7 +107,8 @@ var chill = function() {
|
|||||||
})
|
})
|
||||||
.on('reset', function() {
|
.on('reset', function() {
|
||||||
unsaved_data = false;
|
unsaved_data = false;
|
||||||
});
|
})
|
||||||
|
;
|
||||||
|
|
||||||
$.each($(form_id).find(':input'), function(i,e) {
|
$.each($(form_id).find(':input'), function(i,e) {
|
||||||
$(e).change(function() {
|
$(e).change(function() {
|
||||||
@ -122,9 +123,11 @@ var chill = function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO : DOC
|
||||||
|
*/
|
||||||
function checkNullValuesInChoices(choice_name) {
|
function checkNullValuesInChoices(choice_name) {
|
||||||
var choices;
|
var choices;
|
||||||
console.log(choice_name);
|
|
||||||
choices = $("input[name='"+choice_name+"']:checked");
|
choices = $("input[name='"+choice_name+"']:checked");
|
||||||
if (choices.size() === 0) {
|
if (choices.size() === 0) {
|
||||||
$.each($("input[name='"+choice_name+"']"), function (i, e) {
|
$.each($("input[name='"+choice_name+"']"), function (i, e) {
|
||||||
@ -133,8 +136,6 @@ var chill = function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//}
|
|
||||||
//});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user