2015-03-31 15:57:15 +08:00
|
|
|
<% if @can_quote %>
|
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show_quote_resource_project',:locals => {:project => @project,:file => @file,:error => ''}) %>');
|
|
|
|
<% else %>
|
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show_quote_resource_project',:locals => {:project => @project,:file => @file,:error => '403'}) %>');
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
showModal('ajax-modal', '513px');
|
|
|
|
$('#ajax-modal').siblings().remove();
|
2015-06-05 10:50:43 +08:00
|
|
|
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='closeModal()' style='margin-left: 480px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");
|
2015-04-16 17:56:45 +08:00
|
|
|
$('#ajax-modal').parent().css("top","30%").css("left","35%");
|
2015-03-31 15:57:15 +08:00
|
|
|
$('#ajax-modal').parent().addClass("popbox_polls");
|