summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/modal
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-09-22 19:57:54 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-09-22 19:57:54 +0200
commit2c02eac4fc62d33556d5c1ad8748ecbe6a0b812f (patch)
treea8169eb3b708ac82421f0e80b97f47b1b5af1f96 /module/web/static/js/views/modal
parentweb socket api handler (diff)
downloadpyload-2c02eac4fc62d33556d5c1ad8748ecbe6a0b812f.tar.xz
fixed the dashboard
Diffstat (limited to 'module/web/static/js/views/modal')
-rw-r--r--module/web/static/js/views/modal/modalView.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/module/web/static/js/views/modal/modalView.js b/module/web/static/js/views/modal/modalView.js
index b20aab57d..297808ead 100644
--- a/module/web/static/js/views/modal/modalView.js
+++ b/module/web/static/js/views/modal/modalView.js
@@ -32,21 +32,19 @@ define(['jquery', 'backbone', 'underscore', 'text!tpl/default/modal.html', 'omni
});
},
show: function(subjects, internalCallback) {
- subjects.overlay.fadeIn(250, function() {
- internalCallback(subjects);
- });
+ subjects.overlay.fadeIn(300);
+ internalCallback(subjects);
}}},
modal: {
hideClass: 'hide',
animations: {
hide: function(subjects, internalCallback) {
- subjects.modal.transition({opacity: 'hide', scale: 0.7}, 250, function() {
- internalCallback(subjects);
- });
+ subjects.modal.transition({opacity: 'hide', scale: 0.7}, 300);
+ internalCallback(subjects);
},
show: function(subjects, internalCallback) {
- subjects.modal.transition({opacity: 'show', scale: 1}, 250, function() {
+ subjects.modal.transition({opacity: 'show', scale: 1}, 400, function() {
internalCallback(subjects);
});
}}