From 5356f3584c16f2fc0fbfd78d51c1f596c7efd0e2 Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 29 Mar 2013 19:38:38 +0800 Subject: [PATCH] [event] modified repo decrypt popup --- templates/snippets/events_js.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/snippets/events_js.html b/templates/snippets/events_js.html index a285542374..9dfe50b42c 100644 --- a/templates/snippets/events_js.html +++ b/templates/snippets/events_js.html @@ -39,6 +39,8 @@ function reqEvents(start) { form.find('input[name="repo_id"]').val($(this).data('repoid')); form.find('.op-target').html($(this).data('reponame')); form.data({'url':$(this).data('url'), 'time':$(this).data('time')}).modal({appendTo:'#main'}); + $('#simplemodal-container').css({'width':'auto'}); + $(window).resize(); } return false; });