gerhard/glz_custom_fields_public — Issue #32: Configure glz_custom_fields link not working when in subdirectory
Author: testdept
Created: 2011-12-19 17:18:05+00:00
State: open

My test TXP site resides in a subdirectory therefore the link to 'Configure glz_custom_fields', available on the admin page is not working properly (directs to site without subdir).
I resolved this by editing the file glz_custom_fields.js, line 147, adding '+window.location.pathname' to 'window.location.host'
Original
```
$("select#custom_set_type").after("Configure glz_custom_fields");
```
adapted to
```
$("select#custom_set_type").after("Configure glz_custom_fields");
```