text: 
  function Settings_Slider_Index(){this.refreshTable=function(){var a=this;app.pjax("/Settings/Slider/Index",{},"POST",function(b){a.register()})},this.registerAddButton=function(){var a=this;$(".addImage").on("click",function(){app.showModalByAjax("/Settings/Slider/FormToAddImage",function(){},function(b){a.refreshTable()})})},this.registerRemoveButton=function(){var a=this;$(".removeImage").on("click",function(d){var c=$(d.currentTarget);var b=c.data("id");app.ajax("/Settings/Slider/DeleteImage",{id:b},"POST",function(){a.refreshTable()})})},this.register=function(){this.registerAddButton();this.registerRemoveButton()}};