Fix bug.
This commit is contained in:
parent
b6e0913fab
commit
df753856e4
|
@ -55,7 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
parse_again_end
|
parse_again_end
|
||||||
parse_again_start * 1 if module_modal_template_link
|
parse_again_start * 1 if plugin_template_link
|
||||||
<!-- Link -->
|
<!-- Link -->
|
||||||
<%
|
<%
|
||||||
links_hash = {}
|
links_hash = {}
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
parse_again_end
|
parse_again_end
|
||||||
parse_again_start * 1 if module_modal_template_file
|
parse_again_start * 1 if plugin_template_file
|
||||||
<!-- File -->
|
<!-- File -->
|
||||||
<%
|
<%
|
||||||
files_hash = {}
|
files_hash = {}
|
||||||
|
@ -214,7 +214,7 @@
|
||||||
<%= link_to t('cancel'), request.referer, :class=>"btn" %>
|
<%= link_to t('cancel'), request.referer, :class=>"btn" %>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<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 %>;
|
var files = <%= files_hash.to_json.html_safe %>;
|
||||||
$("a.add_file").on("click",function(){
|
$("a.add_file").on("click",function(){
|
||||||
var type = $(this).attr("for"),
|
var type = $(this).attr("for"),
|
||||||
|
@ -231,7 +231,7 @@ parse_again_start * 1 if module_modal_template_file
|
||||||
$(this).parents('.input-prepend').remove();
|
$(this).parents('.input-prepend').remove();
|
||||||
});
|
});
|
||||||
parse_again_end
|
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 %>;
|
var links = <%= links_hash.to_json.html_safe %>;
|
||||||
$("a.add_link").on("click",function(){
|
$("a.add_link").on("click",function(){
|
||||||
var type = $(this).attr("for"),
|
var type = $(this).attr("for"),
|
||||||
|
|
Loading…
Reference in New Issue