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