Commit e445f223 authored by Franco Fichtner's avatar Franco Fichtner

mvc: add spinner for row toggle

Submitted by: @fbrendel

(cherry picked from commit 3cf976cd)
parent 12338107
......@@ -167,6 +167,7 @@ $.fn.UIBootgrid = function (params) {
{
if (gridParams['toggle'] != undefined) {
var uuid=$(this).data("row-id");
$(this).addClass("fa-spinner fa-pulse");
ajaxCall(url=gridParams['toggle'] + uuid,
sendData={},callback=function(data,status){
// reload grid after delete
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment