Fix volume mount tag
This commit is contained in:
parent
3c86832958
commit
ac3ab4c48b
@ -96,7 +96,9 @@ class VolumeController < ApplicationController
|
||||
command << "force"
|
||||
puts command
|
||||
`#{command}`
|
||||
redirect_to '/volume/index'
|
||||
render :json => {
|
||||
:test => 0,
|
||||
}
|
||||
end
|
||||
|
||||
def volume_stop
|
||||
|
@ -108,6 +108,7 @@
|
||||
<!-- On document ready -->
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
//$(location).attr('href',"#");
|
||||
// Mount overlay functions
|
||||
$("#popup_mount #mount_table_body form").submit(function(){
|
||||
var mnt_point = $(this).find("input").val();
|
||||
@ -262,9 +263,6 @@ $(document).on("click", "#mount_table_div .chupper", function(){
|
||||
|
||||
<!-- Volume info button functions -->
|
||||
<script>
|
||||
// volume mount
|
||||
$(document).on("click", ".btn-volume-mount", function(){
|
||||
});
|
||||
// volume unmount
|
||||
$(document).on("click", ".btn-volume-unmount", function(){
|
||||
var $this = $(this);
|
||||
|
Loading…
Reference in New Issue
Block a user