diff options
Diffstat (limited to 'apps/it/static/js')
-rw-r--r-- | apps/it/static/js/it.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/it/static/js/it.js b/apps/it/static/js/it.js index 9a05b0a..b347774 100644 --- a/apps/it/static/js/it.js +++ b/apps/it/static/js/it.js @@ -7,7 +7,7 @@ $('.media').hover( }); Dropzone.options.myAwesomeDropzone = { paramName: "attachment", // The name that will be used to transfer the file - maxFilesize: 2, // MB + maxFilesize: 20, // MB }; $('.confirm').click(function(e){ if(confirm('Are you sure?')) { @@ -23,10 +23,16 @@ $('.media').hover( $('.autocomplete').each(function(i, e){ $(e).autocomplete({source: $(e).data('source')}); }); - $('.draggable').draggable({opacity: 0.75, zIndex: 100, cursor: 'pointer'}); + $('.draggable').draggable({ + opacity: 0.75, + zIndex: 100, + cursor: 'pointer' + }); $('.dragarea').droppable({ out: function(e, ui) { $.ajax($(ui.draggable).data('destroy')); $(ui.draggable).remove(); } }); + +$('.datepicker').datepicker({dateFormat: "yy-mm-dd"}); |