This commit is contained in:
chiu committed 2024-01-06 18:37:08 +08:00
1 parent b6e0913fab
commit df753856e4
1 file changed
+4 -4
@@ -55,7 +55,7 @@
</div>
<% end %>
parse_again_end
parse_again_start * 1 if module_modal_template_link
parse_again_start * 1 if plugin_template_link
<!-- Link -->
<%
links_hash = {}
@@ -94,7 +94,7 @@
</div>
<% end %>
parse_again_end
parse_again_start * 1 if module_modal_template_file
parse_again_start * 1 if plugin_template_file
<!-- File -->
<%
files_hash = {}
@@ -214,7 +214,7 @@
<%= link_to t('cancel'), request.referer, :class=>"btn" %>
</div>
<script type="text/javascript">
parse_again_start * 1 if module_modal_template_file
parse_again_start * 1 if plugin_template_file
var files = <%= files_hash.to_json.html_safe %>;
$("a.add_file").on("click",function(){
var type = $(this).attr("for"),
@@ -231,7 +231,7 @@ parse_again_start * 1 if module_modal_template_file
$(this).parents('.input-prepend').remove();
});
parse_again_end
parse_again_start * 1 if module_modal_template_link
parse_again_start * 1 if plugin_template_link
var links = <%= links_hash.to_json.html_safe %>;
$("a.add_link").on("click",function(){
var type = $(this).attr("for"),