Spade

Mini Shell

Directory:~$ /proc/self/root/home/lmsyaran/public_html/joomla5/plugins/fabrik_element/calc/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/home/lmsyaran/public_html/joomla5/plugins/fabrik_element/calc/list-calc-min.js

/*! Fabrik */
define(["jquery","fab/encoder"],function(t,n){return
new
Class({options:{},Implements:[Events,Options],initialize:function(t,i){i.element=t,this.setOptions(i),this.col=$$("."+t),this.list=Fabrik.blocks[this.options.listRef],this.options.doListUpdate&&Fabrik.addEvent("fabrik.list.updaterows",function(){this.update()}.bind(this))},update:function(){var
t={option:"com_fabrik",format:"raw",task:"plugin.pluginAjax",plugin:"calc",g:"element",listid:this.options.listid,formid:this.options.formid,method:"ajax_listUpdate",element_id:this.options.elid,rows:this.list.getRowIds(),elementname:this.options.elid};new
Request.JSON({url:"",data:t,onError:function(t,i){fconsole("Fabrik:list-calc:update
error:"+i,t)},onFailure:function(t){fconsole(t)},onSuccess:function(t){var
i,e=Object.prototype.hasOwnProperty;for(i in
t)e.call(t,i)&&"string"==typeof
t[i]&&(t[i]=n.htmlDecode(t[i]));$H(t).each(function(t,i){i=this.list.list.getElement("#"+i+"
."+this.options.element);"null"!==typeOf(i)&&!1!==t&&i.set("html",t)}.bind(this))}.bind(this)}).send()}})});