start of new forms implementation

This commit is contained in:
Gert
2015-06-01 21:22:56 +02:00
parent 06e8514365
commit 9971ec0291
28 changed files with 888 additions and 448 deletions

View File

@@ -5,33 +5,33 @@ $(function () {
});
};
// selectize
$('select.fancy:not(.create)').selectize({
createOnBlur: true,
});
// // selectize
// $('select.fancy:not(.create)').selectize({
// createOnBlur: true,
// });
// selectize with create
$('select.fancy.create').selectize({
createOnBlur: true,
persist: false,
create: function (input) {
return {
value: input,
text: input
}
}
});
// // selectize with create
// $('select.fancy.create').selectize({
// createOnBlur: true,
// persist: false,
// create: function (input) {
// return {
// value: input,
// text: input
// }
// }
// });
$('input.fancy').selectize({
delimiter: ',',
persist: false,
create: function (input) {
return {
value: input,
text: input
}
}
});
// $('input.fancy').selectize({
// delimiter: ',',
// persist: false,
// create: function (input) {
// return {
// value: input,
// text: input
// }
// }
// });
// Set Toastr defaults
toastr.options = {