From 2d0cf156af7213cd26246daf9a579b63bf13a8d0 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 14 Jul 2012 15:14:46 +0200 Subject: [PATCH] Fix showModal animation. New content shouldn' slide in before the containing popup. --- src/static/js/pad_modals.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/js/pad_modals.js b/src/static/js/pad_modals.js index 174779df4..0292e048f 100644 --- a/src/static/js/pad_modals.js +++ b/src/static/js/pad_modals.js @@ -33,9 +33,9 @@ var padmodals = (function() }, showModal: function(messageId) { - $("#connectivity .visible").removeClass('visible'); - $("#connectivity ."+messageId).addClass('visible'); padeditbar.toggleDropDown("none", function() { + $("#connectivity .visible").removeClass('visible'); + $("#connectivity ."+messageId).addClass('visible'); padeditbar.toggleDropDown("connectivity"); }); },