修改弹出框高度

This commit is contained in:
sw 2015-01-17 14:46:49 +08:00
parent ebbe2f97d8
commit 989ff4fcbe
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@
function poll_submit()
{
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'poll_submit', locals: { poll: @poll}) %>');
showModal('ajax-modal', '315px');
$('#ajax-modal').css('height','100px');
showModal('ajax-modal', '310px');
$('#ajax-modal').css('height','110px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
"<a href='#' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");