Paginate plugin javascript error

itsdipak

Member
I just found out that problem is in paginate.min.js, So i Replace it with paginate.js
and then found out problem is @ line "var s = r[key];"

Code snippet is as follows:

doUpdate: function (json) {
var o = JSON.decode(json);
this.options.ids = o.ids;
var r = this.view === 'form' ? o.data : o.html;
this.form.formElements.each(function (oEl, key) {
if (key.substr(-3) !== '_ro') {
var s = r[key];
try {
if (typeOf(s) !== 'null') {
this.view === 'form' ? oEl.update(s) : oEl.update(Encoder.htmlDecode(s));
} else {
oEl.update('');
}
} catch (err) {
console.log(oEl, s, err);
}
}
}.bind(this));
if (this.view === 'form') {
this.pkfield.value = r[this.options.pkey];
}
this.reScan();
window.fireEvent('fabrik.form.refresh', [o.post.rowid]);
Fabrik.loader.stop(this.form.getBlock());
}


Please Help!!! ( Using joomla 3.3.1 and latest github)
 
Back
Top