fix conflict
This commit is contained in:
parent
6851cc868b
commit
e25594cc98
|
@ -9,6 +9,7 @@
|
||||||
<%= render :partial=> "approval_modal" %>
|
<%= render :partial=> "approval_modal" %>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
$(function{
|
||||||
var modal = $("#approvalModal");
|
var modal = $("#approvalModal");
|
||||||
$(document).on("click", ".approval_button",function(){
|
$(document).on("click", ".approval_button",function(){
|
||||||
var url = $(this).attr("href");
|
var url = $(this).attr("href");
|
||||||
|
@ -28,5 +29,6 @@
|
||||||
modal.find("#object_id").val(params["id"]);
|
modal.find("#object_id").val(params["id"]);
|
||||||
modal.modal("show");
|
modal.modal("show");
|
||||||
}
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
<% end %>
|
Loading…
Reference in New Issue