]> git.openstreetmap.org Git - osqa.git/commitdiff
I don't think this was an issue but it was annoying me. I made it so the the text...
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 16:44:21 +0000 (16:44 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 16:44:21 +0000 (16:44 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@466 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/media/js/osqa.main.js

index e2a5e876ae6903eb9d54aa4545fdfc5751c54073..0a8b86ee58afe2c4bab4a994ab3482c0e66907bb 100644 (file)
@@ -163,6 +163,8 @@ function show_dialog (extern) {
 \r
     $dialog = $(html);\r
     $('body').append($dialog);\r
+    var message = $('.dialog-content')[0];\r
+    message.style.visibility = "hidden";\r
 \r
     if (options.dim === false) {\r
         $dialog.css({\r
@@ -189,8 +191,10 @@ function show_dialog (extern) {
         left: "-=" + (options.dim.w / 2),\r
         width: options.dim.w,\r
         height: options.dim.h\r
-    }, 200);\r
-    \r
+    }, 200, function() {\r
+        message.style.visibility = "visible";\r
+    });\r
+\r
     $dialog.find('.dialog-no').click(function() {\r
         default_close_function($dialog);\r
     });\r