修改弹出框高度
This commit is contained in:
parent
ebbe2f97d8
commit
989ff4fcbe
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue