noPrefix Class Applied in Popup

Steve

New Member
Reactions
21
When there is a prefix already selected upon editing the thread title with a set prefix the 'noPrefix' class is applied when it should be the defined prefix, in this case my prefix class is 'acPrefix' which is not loaded.

upload_2016-7-13_4-37-34.png
 
This is something of a bug with the javascript, which was introduced when I fixed it destroying prefixes on changing forums.

Next major version (1.5.x), will feature the javascript knowing about the the prefix limits (min/max), and I will aim to fix this bug then.
 
Yeah figured there is a bit of a design issue with how it can know if there is a single prefix or multiple prefixes. May need a class when there are multiple prefixes for styling purposes, such as 'multiPrefix' or something along those lines.
 
Looks and works great :)

One suggestion if I may. Can you add the default XF class of textCtrl to the Prefix field in the edit thread overlay (or anywhere else it may need it) so it inherits the correct styling?

upload_2017-3-10_0-34-36.png
 
Ugh, this is going to require some re-jigging of the styling as stuff overrides unexpectedly and wonky ordering issues
 
I see...

Maybe throwing the chosen.css into standard XF templates would help get things running in the right order? I'll test it out.
 

Users who are viewing this thread

Back
Top