No longer reload window after adding, just wait for the add event

This commit is contained in:
Paul van Tilburg 2012-02-11 12:30:52 +01:00
parent e38da8c405
commit f6274f1002
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ $(document).ready(function() {
data: { type: 'dnd' },
maxfiles: 1,
maxfilesize: 50,
error: function(err, file) { console.log(err, file); },
afterAll: function() { window.location.reload(true) }
error: function(err, file) { console.log(err, file); }
});
// Populate the canvas with the draggables.