[bug] filtering list in ajax pop-up goes berzerk SOLVED

Status
Not open for further replies.

batonac

Member
After filtering a list in a dbjoin front-end select ajax pop-up, the whole page goes berzerk. I've confirmed this with multiple templates and browsers. A regular list search performs fine, but a drop-down filter kills the template giving a huge array of strange data.
 
My site is offline, I'll try to catch you on a chat and send you credentials.

Here's the error I'm getting from the browser error console:
Code:
Timestamp: 08/21/2013 10:05:18 AM
Error: TypeError: k is null
Source File: http://domain.com/media/com_fabrik/js/list-min.js
Line: 1
 
can you edit fabrik's global confguration and under the debug tab, set debugging = js to load the uncompressed js files?
Using the compressed js file its hard to know what the error is as well its compressed :)
 
Ahh. Makes sense. I setup debugging as you suggested, and found the following:
The above error was the only error I was getting in relation to this action, with uncompressed javascript it says:
Code:
Timestamp: 08/22/2013 08:43:30 AM
Error: TypeError: json is null
Source File: http://domain.com/media/com_fabrik/js/list.js
Line: 687
In response to that, I commented out lines 687 to 689 in list.js, but that didn't change anything.
I then found the following warnings:

~30 of:
Code:
Timestamp: 08/22/2013 08:50:54 AM
Warning: Empty string passed to getElementById().
Source File: http://domain.com/media/jui/js/jquery.min.js
Line: 2

But probably most significantly:
Code:
Timestamp: 08/22/2013 08:50:54 AM
Warning: Unknown property '\"display'.  Declaration dropped.
Source File: http://domain.com/index.php?option=com_fabrik&view=list&listid=10&tmpl=component&ajax=1&triggerElement=threecore_has_standard___standard_id_2&resetfilters=0&c=_com_fabrik_10&Itemid=&clearordering=0&clearfilters=0
Line: 0, Column: 9
Source Code:
\"display:none\"
 
doing that form me - reloaded the page with the json response. I've updated the code in github to stop the js event before it submits the form, and it seems to be working correctly on my test list.
If an update doesn't resolve the issue could you add the ftp details to your 'my sites' info so I can debug on your list.

Cheers
Rob
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top