worked on the new onboarding steps
This commit is contained in:
25
public/assets/js/clientshow.js
vendored
25
public/assets/js/clientshow.js
vendored
@@ -4,6 +4,26 @@
|
||||
var month = d.getMonth()+1;
|
||||
var day = d.getDate();
|
||||
var currentDate = d.getFullYear() + '/' + ((''+month).length<2 ? '0' : '') + month + '/' + ((''+day).length<2 ? '0' : '') + day;
|
||||
/*
|
||||
$('.progressIndicatorCheckbox').change(function() {
|
||||
console.log('food inside');
|
||||
if(this.checked) {
|
||||
var returnVal = confirm("Are you sure?");
|
||||
$(this).prop("checked", returnVal);
|
||||
}
|
||||
$('#textbox1').val(this.checked);
|
||||
});
|
||||
*/
|
||||
$('.progressIndicatorCheckbox').on('change', function() {
|
||||
// From the other examples
|
||||
console.log('finker');
|
||||
if (!this.checked) {
|
||||
var sure = confirm("Are you sure?");
|
||||
this.checked = !sure;
|
||||
$('#textbox1').val(sure.toString());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('select').select2();
|
||||
$('#myDatepicker2').datetimepicker({
|
||||
@@ -17,6 +37,11 @@
|
||||
evt.preventDefault();
|
||||
$('#newNotesForm').modal('show');
|
||||
});
|
||||
$('#progressIndicatorBtn').click(function(evt){
|
||||
console.log('foo bars');
|
||||
evt.preventDefault();
|
||||
$('#progressIndicatorDetailsModal').modal('show');
|
||||
});
|
||||
|
||||
$('#createSmsShortCodeBtn').click(function(evt){
|
||||
evt.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user