Commit 3cf976cd authored by Franco Fichtner's avatar Franco Fichtner

mvc: add spinner for row toggle

Submitted by: @fbrendel
parent fb99cf44
......@@ -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