parent
138211efba
commit
2b855badf9
@ -0,0 +1,17 @@
|
||||
<% if @save_flag %>
|
||||
window.location.reload();
|
||||
<% else %>
|
||||
// alert('添加文件失败:\n<%=@save_message[0]%>');
|
||||
$('#ajax-modal').html('<h3 class="title">添加文件失败</h3><%=@save_message.join(', ')%>');
|
||||
|
||||
var el = $('#ajax-modal').first();
|
||||
var title = el.find('h3.title').text();
|
||||
el.dialog({
|
||||
width: '200px',
|
||||
modal: true,
|
||||
resizable: false,
|
||||
dialogClass: 'modal',
|
||||
title: title
|
||||
});
|
||||
|
||||
<% end %>
|
Loading…
Reference in new issue