diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-24 15:41:13 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-24 15:41:13 +0200 |
commit | fb145cf68c0178b9551eaae3213ec01be112bf76 (patch) | |
tree | 61d8dd381a831da4c34359b5e471e11d687f4746 /module/web/static | |
parent | added some animations, code for show/hiding items (diff) | |
download | pyload-fb145cf68c0178b9551eaae3213ec01be112bf76.tar.xz |
fixed some things, so downloads works again
Diffstat (limited to 'module/web/static')
-rw-r--r-- | module/web/static/js/views/modal/modalView.js | 2 | ||||
-rw-r--r-- | module/web/static/js/views/packageTreeView.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/web/static/js/views/modal/modalView.js b/module/web/static/js/views/modal/modalView.js index 05cb39c33..1de32668d 100644 --- a/module/web/static/js/views/modal/modalView.js +++ b/module/web/static/js/views/modal/modalView.js @@ -27,7 +27,7 @@ define(['jquery', 'backbone', 'underscore', 'text!tpl/default/modal.html', 'omni hideClass: 'hide', animations: { hide: function(subjects, internalCallback) { - subjects.overlay.fadeOut(400, function() { + subjects.overlay.transition({opacity: 'hide', delay: 100}, 300, function() { internalCallback(subjects); }); }, diff --git a/module/web/static/js/views/packageTreeView.js b/module/web/static/js/views/packageTreeView.js index 3329c9582..f746bf0a3 100644 --- a/module/web/static/js/views/packageTreeView.js +++ b/module/web/static/js/views/packageTreeView.js @@ -64,7 +64,7 @@ define(['jquery', 'backbone', 'underscore', 'models/TreeCollection', 'views/pack type: 'POST', data: { name: JSON.stringify($('#name').val()), - links: JSON.stringify(['some link']) + links: JSON.stringify(['http://download.pyload.org/random.bin']) }, success: function() { self.tree.fetch({success: function() { |