davez
Member
Clues are surfacing...
I'm getting some clues about this issue... /administrator/components/com_fabrik/views/pluginmanager.js within addPlugin: function (plugin, c) line 170 or so. "c" is not updating properly. On line 200 this.pluginTotal ++ is not updating fast enough, so when new plugin requests are sent c hasn't updated, so it passes c as say 2 twice to the plugin request.
So, the Ajax requests takes a moment to send and while it's doing the request, the next plugin is being processed before this.pluginTotal moves up to the next number.
I've sped it up by moving this.pluginTotal ++ up like so:
Also, I've used the pluginmanager-min.js version which seems to speed it up. (How do you get that one to run by default?) I have fabrikdebug turned off.
So, this has certainly helped. Instead of botching up the plugins every few page loads, it botches them only once every 10 or so page loads.
How do we get this.pluginTotal to move up properly?
I'm getting some clues about this issue... /administrator/components/com_fabrik/views/pluginmanager.js within addPlugin: function (plugin, c) line 170 or so. "c" is not updating properly. On line 200 this.pluginTotal ++ is not updating fast enough, so when new plugin requests are sent c hasn't updated, so it passes c as say 2 twice to the plugin request.
So, the Ajax requests takes a moment to send and while it's doing the request, the next plugin is being processed before this.pluginTotal moves up to the next number.
I've sped it up by moving this.pluginTotal ++ up like so:
Code:
addPlugin: function (plugin, c) {
c = typeOf(c) === 'number' ? c : this.pluginTotal;
this.pluginTotal ++;
Also, I've used the pluginmanager-min.js version which seems to speed it up. (How do you get that one to run by default?) I have fabrikdebug turned off.
So, this has certainly helped. Instead of botching up the plugins every few page loads, it botches them only once every 10 or so page loads.
How do we get this.pluginTotal to move up properly?