summaryrefslogtreecommitdiffstats
path: root/apps/it/static/js
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-24 19:31:23 +0200
committerFilipp Lepalaan <f@230.to>2014-02-24 19:31:23 +0200
commit615f73881baf3ae7837ee23467998875a944177f (patch)
tree655a01e7c2131a8ee6be71af790ea2f895374668 /apps/it/static/js
parent993f654f7e3334b235391a8d1f779c3e715a610d (diff)
downloadpudding-615f73881baf3ae7837ee23467998875a944177f.tar.gz
pudding-615f73881baf3ae7837ee23467998875a944177f.tar.bz2
pudding-615f73881baf3ae7837ee23467998875a944177f.zip
Better
Diffstat (limited to 'apps/it/static/js')
-rw-r--r--apps/it/static/js/it.js10
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"});